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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 183.2 kB / 18.09 MB, free: 3.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.3 MB / 242.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007868/0.0007867, allocations: 104.1 kB / 293.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3483/0.3483, allocations: 44.14 MB / 388.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004115, allocations: 12 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3716, allocations: 61.88 MB / 0.5107 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.5154, allocations: 106.6 MB / 0.6148 GB, free: 4.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.5157, allocations: 87.94 kB / 0.6149 GB, free: 4.398 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09436/0.6101, allocations: 34.48 MB / 0.6485 GB, free: 1.801 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6101, allocations: 4 kB / 0.6485 GB, free: 1.797 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001352/0.6103, allocations: 31.98 kB / 0.6486 GB, free: 1.766 MB / 458.7 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.00503/0.6153, allocations: 1.811 MB / 0.6503 GB, free: 15.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.6154, allocations: 12.03 kB / 0.6504 GB, free: 15.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/0.6174, allocations: 374.4 kB / 0.6507 GB, free: 15.52 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003919/0.6214, allocations: 1.72 MB / 0.6524 GB, free: 13.75 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.6215, allocations: 115.3 kB / 0.6525 GB, free: 13.64 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005325/0.6221, allocations: 148.4 kB / 0.6526 GB, free: 13.49 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006441/0.6285, allocations: 2.993 MB / 0.6556 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/0.6286, allocations: 19.97 kB / 0.6556 GB, free: 10.25 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002281/0.6289, allocations: 63.92 kB / 0.6556 GB, free: 10.19 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000447/0.6293, allocations: 290.1 kB / 0.6559 GB, free: 9.906 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004719/0.6341, allocations: 2.155 MB / 0.658 GB, free: 7.742 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01366/0.6477, allocations: 11.53 MB / 0.6693 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00358/0.6514, allocations: 1.219 MB / 0.6705 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005971/0.652, allocations: 401.6 kB / 0.6709 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003843/0.6559, allocations: 3.005 MB / 0.6738 GB, free: 7.016 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.6559, allocations: 39 kB / 0.6738 GB, free: 6.969 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 2.675e-06/0.6559, allocations: 0 / 0.6738 GB, free: 6.969 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.01051/0.6665, allocations: 3.729 MB / 0.6775 GB, free: 3.125 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.6665, allocations: 85.67 kB / 0.6776 GB, free: 3.023 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.6685, allocations: 1.198 MB / 0.6787 GB, free: 1.812 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/0.6686, allocations: 37.7 kB / 0.6788 GB, free: 1.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006492/0.6693, allocations: 0.9433 MB / 0.6797 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.6694, allocations: 217.2 kB / 0.6799 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.6695, allocations: 32 kB / 0.6799 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.6697, allocations: 369.8 kB / 0.6803 GB, free: 204 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2402/0.9099, allocations: 406.8 kB / 0.6807 GB, free: 114.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.9112, allocations: 1.252 MB / 0.6819 GB, free: 113.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.9129, allocations: 1.803 MB / 0.6836 GB, free: 112.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/0.913, allocations: 10.75 kB / 0.6837 GB, free: 112.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.002308/0.9153, allocations: 1.713 MB / 0.6853 GB, free: 112.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.9153, allocations: 17.28 kB / 0.6853 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/0.9154, allocations: 28.91 kB / 0.6854 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/0.9156, allocations: 91.69 kB / 0.6855 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009464/0.9165, allocations: 363.3 kB / 0.6858 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.9177, allocations: 1.692 MB / 0.6875 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000902/0.9186, allocations: 67.03 kB / 0.6875 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.046e-05/0.9187, allocations: 90.47 kB / 0.6876 GB, free: 110.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * 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 (192): * Single equations (assignments): 191 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009601/0.9197, allocations: 0.6392 MB / 0.6882 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.9198, allocations: 119.3 kB / 0.6883 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.9209, allocations: 0.7041 MB / 0.689 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.9209, allocations: 5.719 kB / 0.689 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9209, allocations: 5.281 kB / 0.689 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.9209, allocations: 0 / 0.689 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.9239, allocations: 2.268 MB / 0.6913 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.9239, allocations: 3.469 kB / 0.6913 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/0.9243, allocations: 105.9 kB / 0.6914 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001693/0.9245, allocations: 62.38 kB / 0.6914 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.9245, allocations: 15.22 kB / 0.6914 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.9257, allocations: 1.748 MB / 0.6931 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.9257, allocations: 6.938 kB / 0.6931 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.9269, allocations: 1.094 MB / 0.6942 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.9271, allocations: 183.2 kB / 0.6944 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.961e-05/0.9272, allocations: 15.28 kB / 0.6944 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.9275, allocations: 30.33 kB / 0.6944 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.9276, allocations: 46.2 kB / 0.6945 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.9276, allocations: 21.25 kB / 0.6945 GB, free: 108.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008755/0.9285, allocations: 0.7649 MB / 0.6952 GB, free: 108.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.9285, allocations: 0 / 0.6952 GB, free: 108.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001331/0.9299, allocations: 304 kB / 0.6955 GB, free: 108.2 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001963/0.9301, allocations: 135.5 kB / 0.6957 GB, free: 108.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.9315, allocations: 1.077 MB / 0.6967 GB, free: 107.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.9315, allocations: 2.812 kB / 0.6967 GB, free: 107.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004296/0.9319, allocations: 413.6 kB / 0.6971 GB, free: 107.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.9334, allocations: 183.4 kB / 0.6973 GB, free: 107.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00467/0.938, allocations: 3.38 MB / 0.7006 GB, free: 105.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.9392, allocations: 1.454 MB / 0.702 GB, free: 105.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001093/0.9403, allocations: 415 kB / 0.7024 GB, free: 105 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.9404, allocations: 77.25 kB / 0.7025 GB, free: 105 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.9404, allocations: 3.938 kB / 0.7025 GB, free: 105 MB / 490.7 MB Notification: Performance of Templates: time 0.02377/0.9642, allocations: 9.792 MB / 0.712 GB, free: 104.5 MB / 490.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches