Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2074/0.2074, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 59.41 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1441, allocations: 60.82 MB / 469.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.0103/0.1544, allocations: 8.661 MB / 477.9 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007179/0.1616, allocations: 3.456 MB / 481.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.1629, allocations: 43.88 kB / 481.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00255/0.1655, allocations: 1.367 MB / 482.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002454/0.168, allocations: 0.9412 MB / 483.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.1691, allocations: 0.5108 MB / 484.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002023/0.1712, allocations: 1.675 MB / 485.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.1729, allocations: 1.663 MB / 487.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008237/0.1738, allocations: 0.6698 MB / 488.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009698/0.1747, allocations: 0.884 MB / 489.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.1749, allocations: 140 kB / 489.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.176, allocations: 0.6046 MB / 489.9 MB, free: 9.641 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005925/0.1766, allocations: 0.7131 MB / 490.6 MB, free: 8.926 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007354/0.1773, allocations: 0.8315 MB / 491.4 MB, free: 8.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.1797, allocations: 2.438 MB / 493.8 MB, free: 5.645 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1797, allocations: 0 / 493.8 MB, free: 5.645 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.1797, allocations: 4 kB / 493.8 MB, free: 5.641 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.53e-05/0.1797, allocations: 3.938 kB / 493.8 MB, free: 5.637 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003387/0.1831, allocations: 2.005 MB / 495.9 MB, free: 3.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.1832, allocations: 12.03 kB / 495.9 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.1843, allocations: 262.5 kB / 496.1 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.1861, allocations: 1.071 MB / 497.2 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.417e-05/0.1862, allocations: 94.58 kB / 497.3 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.1864, allocations: 128 kB / 497.4 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005075/0.1914, allocations: 2.988 MB / 0.4887 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.551e-05/0.1915, allocations: 15.78 kB / 0.4887 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.1916, allocations: 55.97 kB / 0.4887 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000596/0.1922, allocations: 438 kB / 0.4892 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00443/0.1967, allocations: 2.16 MB / 0.4913 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.2099, allocations: 10.73 MB / 0.5017 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.242/0.4519, allocations: 1.227 MB / 0.5029 GB, free: 49.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008223/0.4528, allocations: 406.8 kB / 0.5033 GB, free: 49.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004002/0.4568, allocations: 2.987 MB / 0.5062 GB, free: 47.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.4569, allocations: 44.28 kB / 0.5063 GB, free: 47.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.194e-06/0.4569, allocations: 0 / 0.5063 GB, free: 47.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01192/0.4688, allocations: 3.753 MB / 0.51 GB, free: 46.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.4689, allocations: 83.61 kB / 0.51 GB, free: 46.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/0.471, allocations: 1.191 MB / 0.5112 GB, free: 45.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.4711, allocations: 37.45 kB / 0.5112 GB, free: 45.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007107/0.4718, allocations: 0.941 MB / 0.5122 GB, free: 45.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.472, allocations: 215.7 kB / 0.5124 GB, free: 45.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004793/0.4725, allocations: 319.7 kB / 0.5127 GB, free: 44.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.941e-05/0.4725, allocations: 305.7 kB / 0.513 GB, free: 44.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006336/0.4732, allocations: 415.3 kB / 0.5134 GB, free: 44.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009334/0.4741, allocations: 1.254 MB / 0.5146 GB, free: 43.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00224/0.4764, allocations: 1.807 MB / 0.5163 GB, free: 41.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.081e-05/0.4764, allocations: 13.27 kB / 0.5164 GB, free: 41.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003072/0.4795, allocations: 1.723 MB / 0.518 GB, free: 40.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/0.4795, allocations: 18.44 kB / 0.5181 GB, free: 40.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.563e-05/0.4796, allocations: 28.91 kB / 0.5181 GB, free: 40.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002599/0.4798, allocations: 94.42 kB / 0.5182 GB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.481, allocations: 359.7 kB / 0.5185 GB, free: 40.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.4824, allocations: 1.879 MB / 0.5203 GB, free: 39.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.4834, allocations: 64.91 kB / 0.5204 GB, free: 39.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.4835, allocations: 90.78 kB / 0.5205 GB, free: 39.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009222/0.4845, allocations: 0.6482 MB / 0.5211 GB, free: 38.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.4846, allocations: 111.1 kB / 0.5212 GB, free: 38.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.4858, allocations: 0.7081 MB / 0.5219 GB, free: 38.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.4858, allocations: 5.75 kB / 0.5219 GB, free: 38.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4858, allocations: 5.938 kB / 0.5219 GB, free: 38.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.4858, allocations: 3.797 kB / 0.5219 GB, free: 38.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002893/0.4887, allocations: 2.23 MB / 0.5241 GB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.4888, allocations: 3.781 kB / 0.5241 GB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.4891, allocations: 100.6 kB / 0.5242 GB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001719/0.4893, allocations: 64.12 kB / 0.5243 GB, free: 37.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.4893, allocations: 19.88 kB / 0.5243 GB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.4905, allocations: 1.944 MB / 0.5262 GB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4905, allocations: 3.969 kB / 0.5262 GB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.4916, allocations: 1.102 MB / 0.5273 GB, free: 35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.4918, allocations: 177.2 kB / 0.5274 GB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-05/0.4919, allocations: 19.25 kB / 0.5275 GB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.4922, allocations: 24.75 kB / 0.5275 GB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.4923, allocations: 52.06 kB / 0.5275 GB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.4923, allocations: 18.34 kB / 0.5276 GB, free: 34.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007794/0.4931, allocations: 0.7628 MB / 0.5283 GB, free: 34.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4931, allocations: 3.312 kB / 0.5283 GB, free: 34.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001414/0.4945, allocations: 298.6 kB / 0.5286 GB, free: 34.46 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001944/0.4947, allocations: 135 kB / 0.5287 GB, free: 34.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.4963, allocations: 1.203 MB / 0.5299 GB, free: 33.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4963, allocations: 0 / 0.5299 GB, free: 33.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003929/0.4967, allocations: 412 kB / 0.5303 GB, free: 33.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/0.4975, allocations: 185.2 kB / 0.5305 GB, free: 33.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/0.5008, allocations: 2.837 MB / 0.5332 GB, free: 30.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007669/0.5016, allocations: 1.451 MB / 0.5347 GB, free: 29.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007933/0.5024, allocations: 409.7 kB / 0.535 GB, free: 29.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.5025, allocations: 75.44 kB / 0.5351 GB, free: 28.96 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5025, allocations: 0 / 0.5351 GB, free: 28.96 MB / 382.1 MB Notification: Performance of Templates: time 0.01595/0.5185, allocations: 10.45 MB / 0.5453 GB, free: 18.62 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches