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.001595/0.001595, allocations: 108.9 kB / 18.45 MB, free: 4.598 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.001814/0.001814, allocations: 183 kB / 19.39 MB, free: 3.672 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.398/1.398, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2181/0.2181, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.4004, allocations: 60.83 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01018/0.4107, allocations: 8.655 MB / 0.528 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008297/0.419, allocations: 3.448 MB / 0.5314 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002044/0.4211, allocations: 46.25 kB / 0.5315 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003048/0.4241, allocations: 1.371 MB / 0.5328 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003648/0.4279, allocations: 0.9582 MB / 0.5337 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.4293, allocations: 0.5165 MB / 0.5342 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002915/0.4322, allocations: 1.675 MB / 0.5359 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/0.4343, allocations: 1.666 MB / 0.5375 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.4355, allocations: 0.6677 MB / 0.5381 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.4367, allocations: 0.8921 MB / 0.539 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002544/0.4369, allocations: 138.3 kB / 0.5391 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.4383, allocations: 0.5977 MB / 0.5397 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009074/0.4392, allocations: 0.7359 MB / 0.5405 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.4403, allocations: 0.8311 MB / 0.5413 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003935/0.4443, allocations: 2.505 MB / 0.5437 GB, free: 3.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.4443, allocations: 0 / 0.5437 GB, free: 3.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4443, allocations: 4 kB / 0.5437 GB, free: 3.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.641e-05/0.4443, allocations: 0 / 0.5437 GB, free: 3.258 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.003936/0.4483, allocations: 2.054 MB / 0.5457 GB, free: 1.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.4483, allocations: 12.03 kB / 0.5457 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.4495, allocations: 271.6 kB / 0.546 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.4515, allocations: 1.099 MB / 0.5471 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.947e-05/0.4516, allocations: 94.58 kB / 0.5472 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/0.4518, allocations: 124 kB / 0.5473 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005502/0.4573, allocations: 2.988 MB / 0.5502 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.095e-05/0.4574, allocations: 11.89 kB / 0.5502 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.4575, allocations: 59.97 kB / 0.5503 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006347/0.4582, allocations: 434 kB / 0.5507 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004765/0.463, allocations: 2.163 MB / 0.5528 GB, free: 9.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01484/0.4778, allocations: 10.71 MB / 0.5632 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004366/0.4822, allocations: 1.238 MB / 0.5644 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006991/0.483, allocations: 403.2 kB / 0.5648 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004669/0.4877, allocations: 3.013 MB / 0.5678 GB, free: 9.758 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.4877, allocations: 39 kB / 0.5678 GB, free: 9.711 MB / 430.1 MB Notification: Performance of pre-optimization done (n=51): time 3.006e-06/0.4878, allocations: 3.938 kB / 0.5678 GB, free: 9.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01261/0.5004, allocations: 3.767 MB / 0.5715 GB, free: 5.832 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.5005, allocations: 93.66 kB / 0.5716 GB, free: 5.719 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.5025, allocations: 1.19 MB / 0.5727 GB, free: 4.516 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.677e-05/0.5026, allocations: 37.7 kB / 0.5728 GB, free: 4.473 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000773/0.5034, allocations: 0.9702 MB / 0.5737 GB, free: 3.492 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.5036, allocations: 226.2 kB / 0.5739 GB, free: 3.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004468/0.5041, allocations: 315.3 kB / 0.5742 GB, free: 2.953 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.5042, allocations: 301.1 kB / 0.5745 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007012/0.5049, allocations: 419.7 kB / 0.5749 GB, free: 2.246 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.5062, allocations: 1.258 MB / 0.5762 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/0.5084, allocations: 1.81 MB / 0.5779 GB, free: 14.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.548e-05/0.5084, allocations: 8 kB / 0.5779 GB, free: 14.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002941/0.5114, allocations: 1.73 MB / 0.5796 GB, free: 12.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.5114, allocations: 16 kB / 0.5796 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.857e-05/0.5115, allocations: 31.98 kB / 0.5797 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/0.5118, allocations: 93.55 kB / 0.5798 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.5129, allocations: 355.4 kB / 0.5801 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.5146, allocations: 1.877 MB / 0.5819 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.5157, allocations: 68.17 kB / 0.582 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.5158, allocations: 92 kB / 0.5821 GB, free: 9.938 MB / 446.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.001089/0.5169, allocations: 0.6401 MB / 0.5827 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.5172, allocations: 119.2 kB / 0.5828 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.5185, allocations: 0.7146 MB / 0.5835 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.5185, allocations: 7.922 kB / 0.5835 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5185, allocations: 0 / 0.5835 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.5189, allocations: 176.3 kB / 0.5837 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.5191, allocations: 12 kB / 0.5837 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004555/0.5196, allocations: 27.97 kB / 0.5837 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.5197, allocations: 28.52 kB / 0.5838 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001445/0.5211, allocations: 0.722 MB / 0.5845 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001493/0.5226, allocations: 1.108 MB / 0.5855 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003692/0.523, allocations: 256.3 kB / 0.5858 GB, free: 6.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001258/0.5243, allocations: 0.7558 MB / 0.5865 GB, free: 5.309 MB / 446.1 MB Notification: Performance of Backend: time 6.41e-07/0.5243, allocations: 4 kB / 0.5865 GB, free: 5.305 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002879/0.5272, allocations: 1.102 MB / 0.5876 GB, free: 4.191 MB / 446.1 MB Notification: Performance of SimCode: time 0.00585/0.533, allocations: 3.272 MB / 0.5908 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of Templates: time 0.02788/0.5609, allocations: 13.52 MB / 0.604 GB, free: 3.402 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/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