Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001474/0.001474, allocations: 174.2 kB / 16.76 MB, free: 4.809 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008103/0.0008104, allocations: 92.06 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3186/0.3186, allocations: 43.57 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003436, allocations: 12 kB / 432.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1039, allocations: 58.84 MB / 491.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3182/0.4222, allocations: 89.84 MB / 0.5677 GB, free: 12.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.4224, allocations: 59.98 kB / 0.5677 GB, free: 11.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03352/0.456, allocations: 11.48 MB / 0.5789 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.429e-06/0.456, allocations: 0 / 0.5789 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.214e-05/0.4561, allocations: 19.94 kB / 0.579 GB, free: 484 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001996/0.4581, allocations: 0.8888 MB / 0.5798 GB, free: 15.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4582, allocations: 8.031 kB / 0.5798 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.4584, allocations: 76.09 kB / 0.5799 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000634/0.459, allocations: 389.7 kB / 0.5803 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.885e-05/0.4591, allocations: 45.69 kB / 0.5803 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.4592, allocations: 64.28 kB / 0.5804 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.4605, allocations: 0.6349 MB / 0.581 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.912e-05/0.4606, allocations: 12.09 kB / 0.581 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/0.4607, allocations: 23.94 kB / 0.581 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.4607, allocations: 16 kB / 0.5811 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.4619, allocations: 0.5684 MB / 0.5816 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003358/0.4653, allocations: 2.21 MB / 0.5838 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.4666, allocations: 0.7134 MB / 0.5845 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006216/0.4672, allocations: 363.1 kB / 0.5848 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.4674, allocations: 93.53 kB / 0.5849 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.4674, allocations: 54.94 kB / 0.5849 GB, free: 9.996 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/0.4674, allocations: 0 / 0.5849 GB, free: 9.996 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.008238/0.4757, allocations: 4.617 MB / 0.5895 GB, free: 5.031 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.4758, allocations: 230.1 kB / 0.5897 GB, free: 4.758 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.4762, allocations: 358 kB / 0.59 GB, free: 4.398 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.399e-05/0.4763, allocations: 45.7 kB / 0.5901 GB, free: 4.348 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.4765, allocations: 268.9 kB / 0.5903 GB, free: 4.078 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/0.4768, allocations: 414 kB / 0.5907 GB, free: 3.668 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.4769, allocations: 20 kB / 0.5907 GB, free: 3.648 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.4771, allocations: 382.8 kB / 0.5911 GB, free: 3.266 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006639/0.4777, allocations: 330.4 kB / 0.5914 GB, free: 2.945 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007964/0.4786, allocations: 0.5164 MB / 0.5919 GB, free: 2.359 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.4801, allocations: 0.9015 MB / 0.5928 GB, free: 1.398 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.4801, allocations: 4 kB / 0.5928 GB, free: 1.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001872/0.482, allocations: 1.031 MB / 0.5938 GB, free: 364 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.482, allocations: 8 kB / 0.5938 GB, free: 356 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.482, allocations: 7.984 kB / 0.5938 GB, free: 348 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.4821, allocations: 11.98 kB / 0.5938 GB, free: 336 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009986/0.4831, allocations: 295.8 kB / 0.5941 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-05/0.4831, allocations: 15.94 kB / 0.5941 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.4836, allocations: 60.05 kB / 0.5942 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.474e-05/0.4837, allocations: 39.98 kB / 0.5942 GB, free: 15.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003313/0.484, allocations: 229.6 kB / 0.5944 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.4843, allocations: 75.16 kB / 0.5945 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004282/0.4847, allocations: 218.8 kB / 0.5947 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.4847, allocations: 16 kB / 0.5947 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.4847, allocations: 0 / 0.5947 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.4848, allocations: 11.97 kB / 0.5948 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003769/0.4885, allocations: 2.388 MB / 0.5971 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.4886, allocations: 4.281 kB / 0.5971 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.4896, allocations: 259.9 kB / 0.5973 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/0.4897, allocations: 12 kB / 0.5973 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-05/0.4897, allocations: 35.86 kB / 0.5974 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.4898, allocations: 11.94 kB / 0.5974 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.4898, allocations: 7.938 kB / 0.5974 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.4924, allocations: 1.943 MB / 0.5993 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.4927, allocations: 200.2 kB / 0.5995 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.597e-05/0.4928, allocations: 32 kB / 0.5995 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006018/0.4934, allocations: 59.91 kB / 0.5996 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.4936, allocations: 88.39 kB / 0.5997 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/0.4936, allocations: 35.98 kB / 0.5997 GB, free: 10.13 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002802/0.4939, allocations: 247.1 kB / 0.5999 GB, free: 9.891 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4939, allocations: 0 / 0.5999 GB, free: 9.891 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008606/0.4948, allocations: 200.1 kB / 0.6001 GB, free: 9.695 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001958/0.495, allocations: 135.6 kB / 0.6003 GB, free: 9.555 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.4967, allocations: 0.8744 MB / 0.6011 GB, free: 8.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.4968, allocations: 4.062 kB / 0.6011 GB, free: 8.676 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000962/0.4977, allocations: 0.5033 MB / 0.6016 GB, free: 8.172 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.4993, allocations: 121.2 kB / 0.6017 GB, free: 8.055 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004172/0.5035, allocations: 2.66 MB / 0.6043 GB, free: 5.316 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007639/0.5043, allocations: 0.948 MB / 0.6052 GB, free: 4.344 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006064/0.5049, allocations: 105.6 kB / 0.6053 GB, free: 4.238 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.5051, allocations: 59.42 kB / 0.6054 GB, free: 4.18 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5051, allocations: 0 / 0.6054 GB, free: 4.18 MB / 426.7 MB Notification: Performance of Templates: time 0.01388/0.519, allocations: 6.413 MB / 0.6117 GB, free: 13.81 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches