Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_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.001477/0.001488, allocations: 110.8 kB / 16.41 MB, free: 6.496 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.001441/0.001441, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2582/0.2582, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 71.89 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1365, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.009995/0.1465, allocations: 8.691 MB / 0.4964 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007963/0.1545, allocations: 3.449 MB / 0.4997 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.1561, allocations: 43.88 kB / 0.4998 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002988/0.1592, allocations: 1.363 MB / 0.5011 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003065/0.1623, allocations: 0.9417 MB / 0.502 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.1636, allocations: 0.5264 MB / 0.5026 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002276/0.1659, allocations: 1.698 MB / 0.5042 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002532/0.1684, allocations: 1.671 MB / 0.5058 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000932/0.1694, allocations: 0.6736 MB / 0.5065 GB, free: 8.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.1705, allocations: 0.8918 MB / 0.5074 GB, free: 7.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.1707, allocations: 140 kB / 0.5075 GB, free: 7.609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.1718, allocations: 0.5968 MB / 0.5081 GB, free: 7.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006173/0.1724, allocations: 0.7248 MB / 0.5088 GB, free: 6.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007937/0.1732, allocations: 0.8392 MB / 0.5096 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003192/0.1764, allocations: 2.502 MB / 0.5121 GB, free: 2.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1764, allocations: 0 / 0.5121 GB, free: 2.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1764, allocations: 0 / 0.5121 GB, free: 2.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.118e-05/0.1765, allocations: 4 kB / 0.5121 GB, free: 2.926 MB / 398.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.003735/0.1802, allocations: 2.057 MB / 0.5141 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.1803, allocations: 19.81 kB / 0.5141 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.1813, allocations: 275.6 kB / 0.5144 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/0.1831, allocations: 1.138 MB / 0.5155 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.149e-05/0.1832, allocations: 102.6 kB / 0.5156 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.1834, allocations: 123.9 kB / 0.5157 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004938/0.1883, allocations: 2.984 MB / 0.5186 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.467e-05/0.1884, allocations: 19.88 kB / 0.5186 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.1885, allocations: 51.97 kB / 0.5187 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005793/0.1891, allocations: 438 kB / 0.5191 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004458/0.1936, allocations: 2.16 MB / 0.5212 GB, free: 9.273 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3363/0.5299, allocations: 10.72 MB / 0.5317 GB, free: 33.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004166/0.5341, allocations: 1.229 MB / 0.5329 GB, free: 33.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005972/0.5347, allocations: 412.2 kB / 0.5333 GB, free: 33.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003892/0.5386, allocations: 2.994 MB / 0.5362 GB, free: 32.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.5386, allocations: 44.84 kB / 0.5362 GB, free: 32.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.555e-06/0.5387, allocations: 0 / 0.5362 GB, free: 32.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01154/0.5502, allocations: 3.797 MB / 0.5399 GB, free: 31.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.5503, allocations: 83.42 kB / 0.54 GB, free: 31.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.5521, allocations: 1.204 MB / 0.5412 GB, free: 31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.5521, allocations: 36.33 kB / 0.5412 GB, free: 30.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006282/0.5528, allocations: 0.9693 MB / 0.5422 GB, free: 30.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.553, allocations: 232.6 kB / 0.5424 GB, free: 30.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004299/0.5534, allocations: 319.9 kB / 0.5427 GB, free: 30.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.5535, allocations: 303 kB / 0.543 GB, free: 29.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.5545, allocations: 417.5 kB / 0.5434 GB, free: 29.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.5559, allocations: 1.258 MB / 0.5446 GB, free: 28.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/0.5582, allocations: 1.803 MB / 0.5464 GB, free: 26.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.51e-05/0.5582, allocations: 8.844 kB / 0.5464 GB, free: 26.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00293/0.5611, allocations: 1.735 MB / 0.5481 GB, free: 26.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.94e-05/0.5612, allocations: 19.34 kB / 0.5481 GB, free: 26.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.458e-05/0.5613, allocations: 30.25 kB / 0.5481 GB, free: 26.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002661/0.5615, allocations: 87.27 kB / 0.5482 GB, free: 26.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.5627, allocations: 361.8 kB / 0.5485 GB, free: 26.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.5643, allocations: 1.881 MB / 0.5504 GB, free: 24.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.5655, allocations: 66.55 kB / 0.5504 GB, free: 24.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.5657, allocations: 89.64 kB / 0.5505 GB, free: 24.36 MB / 414.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.001069/0.5667, allocations: 0.6459 MB / 0.5512 GB, free: 24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.5669, allocations: 120.2 kB / 0.5513 GB, free: 23.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.5683, allocations: 0.7069 MB / 0.552 GB, free: 23.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.5683, allocations: 10.08 kB / 0.552 GB, free: 23.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5683, allocations: 1.766 kB / 0.552 GB, free: 23.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.5683, allocations: 4.156 kB / 0.552 GB, free: 23.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004408/0.5727, allocations: 2.238 MB / 0.5542 GB, free: 22.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.5728, allocations: 7.875 kB / 0.5542 GB, free: 22.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.5732, allocations: 102.6 kB / 0.5543 GB, free: 22.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000237/0.5735, allocations: 65.42 kB / 0.5543 GB, free: 22.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.5735, allocations: 15.72 kB / 0.5543 GB, free: 22.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.5753, allocations: 1.937 MB / 0.5562 GB, free: 20.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.5753, allocations: 8.062 kB / 0.5562 GB, free: 20.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.5772, allocations: 1.107 MB / 0.5573 GB, free: 20.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/0.5776, allocations: 224.5 kB / 0.5575 GB, free: 19.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.5777, allocations: 15.81 kB / 0.5576 GB, free: 19.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.5781, allocations: 24.64 kB / 0.5576 GB, free: 19.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.496e-05/0.5782, allocations: 49.38 kB / 0.5576 GB, free: 19.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.5782, allocations: 22.77 kB / 0.5577 GB, free: 19.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001344/0.5796, allocations: 0.7741 MB / 0.5584 GB, free: 19.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5796, allocations: 0 / 0.5584 GB, free: 19.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002099/0.5817, allocations: 303 kB / 0.5587 GB, free: 19.62 MB / 414.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.0002446/0.5819, allocations: 118.8 kB / 0.5588 GB, free: 19.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.5838, allocations: 1.109 MB / 0.5599 GB, free: 19.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.5838, allocations: 7.969 kB / 0.5599 GB, free: 19.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004389/0.5842, allocations: 412.4 kB / 0.5603 GB, free: 18.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009372/0.5852, allocations: 199.7 kB / 0.5605 GB, free: 18.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004155/0.5893, allocations: 2.876 MB / 0.5633 GB, free: 17.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009355/0.5903, allocations: 1.448 MB / 0.5647 GB, free: 16.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008086/0.5911, allocations: 410.6 kB / 0.5651 GB, free: 16.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.5913, allocations: 82.89 kB / 0.5652 GB, free: 16.24 MB / 414.1 MB Notification: Performance of SimCode: time 1.222e-06/0.5913, allocations: 0 / 0.5652 GB, free: 16.24 MB / 414.1 MB Notification: Performance of Templates: time 0.01828/0.6096, allocations: 10.85 MB / 0.5758 GB, free: 6.34 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches