Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00235/0.00235, allocations: 219.9 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2339/0.2339, allocations: 46.96 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.91 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4035, allocations: 66.03 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01022/0.4138, allocations: 7.64 MB / 0.5681 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00742/0.4212, allocations: 3.279 MB / 0.5713 GB, free: 9.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.4224, allocations: 51.75 kB / 0.5713 GB, free: 9.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002792/0.4252, allocations: 1.332 MB / 0.5726 GB, free: 7.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002525/0.4277, allocations: 0.9378 MB / 0.5735 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.4289, allocations: 0.5186 MB / 0.574 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002602/0.4315, allocations: 1.729 MB / 0.5757 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001694/0.4332, allocations: 1.249 MB / 0.5769 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.4344, allocations: 0.6698 MB / 0.5776 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.4357, allocations: 0.8838 MB / 0.5785 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002519/0.436, allocations: 140 kB / 0.5786 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.4371, allocations: 0.5538 MB / 0.5791 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007724/0.4379, allocations: 0.748 MB / 0.5799 GB, free: 392 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007891/0.4387, allocations: 0.6528 MB / 0.5805 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.4421, allocations: 2.498 MB / 0.5829 GB, free: 13.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4422, allocations: 0 / 0.5829 GB, free: 13.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4422, allocations: 0 / 0.5829 GB, free: 13.22 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.689e-05/0.4422, allocations: 4 kB / 0.5829 GB, free: 13.21 MB / 430.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.004192/0.4464, allocations: 1.979 MB / 0.5849 GB, free: 11.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.4464, allocations: 12.03 kB / 0.5849 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003125/0.4468, allocations: 245.5 kB / 0.5851 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.448, allocations: 283.5 kB / 0.5854 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/0.4507, allocations: 1.23 MB / 0.5866 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.401e-05/0.4508, allocations: 98.39 kB / 0.5867 GB, free: 9.301 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.451, allocations: 128 kB / 0.5868 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005982/0.457, allocations: 3.046 MB / 0.5898 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.154e-05/0.4571, allocations: 19.83 kB / 0.5898 GB, free: 5.906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.4572, allocations: 51.97 kB / 0.5899 GB, free: 5.855 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006926/0.4579, allocations: 434 kB / 0.5903 GB, free: 5.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005046/0.4629, allocations: 2.167 MB / 0.5924 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0141/0.477, allocations: 10.26 MB / 0.6024 GB, free: 8.719 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004053/0.4811, allocations: 1.191 MB / 0.6036 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005962/0.4817, allocations: 379 kB / 0.6039 GB, free: 7.133 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003803/0.4855, allocations: 2.011 MB / 0.6059 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.4855, allocations: 42.98 kB / 0.6059 GB, free: 5.043 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.455e-06/0.4855, allocations: 0 / 0.6059 GB, free: 5.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01174/0.4973, allocations: 3.582 MB / 0.6094 GB, free: 1.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.553e-05/0.4974, allocations: 89.55 kB / 0.6095 GB, free: 1.305 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/0.4993, allocations: 1.24 MB / 0.6107 GB, free: 52 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.4994, allocations: 41.7 kB / 0.6108 GB, free: 4 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008504/0.5002, allocations: 0.9624 MB / 0.6117 GB, free: 15.03 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.5004, allocations: 230.2 kB / 0.6119 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004204/0.5009, allocations: 315.3 kB / 0.6122 GB, free: 14.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.501, allocations: 301.1 kB / 0.6125 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006834/0.5017, allocations: 411.7 kB / 0.6129 GB, free: 13.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.5031, allocations: 1.271 MB / 0.6141 GB, free: 12.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/0.5053, allocations: 1.802 MB / 0.6159 GB, free: 9.883 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.5053, allocations: 11.94 kB / 0.6159 GB, free: 9.871 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002727/0.5081, allocations: 1.719 MB / 0.6176 GB, free: 8.141 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.5081, allocations: 16 kB / 0.6176 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.374e-05/0.5081, allocations: 32.84 kB / 0.6176 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002433/0.5084, allocations: 96.81 kB / 0.6177 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.5094, allocations: 351.3 kB / 0.6181 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.5112, allocations: 1.769 MB / 0.6198 GB, free: 5.766 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008819/0.5121, allocations: 67.98 kB / 0.6199 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.5122, allocations: 84 kB / 0.6199 GB, free: 5.617 MB / 462.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 (190): * Single equations (assignments): 189 * 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.0009448/0.5132, allocations: 0.6417 MB / 0.6206 GB, free: 4.969 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.5134, allocations: 127.2 kB / 0.6207 GB, free: 4.844 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.5136, allocations: 131.6 kB / 0.6208 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.5136, allocations: 8 kB / 0.6208 GB, free: 4.703 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.5136, allocations: 0 / 0.6208 GB, free: 4.703 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5136, allocations: 3.984 kB / 0.6208 GB, free: 4.699 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/0.5173, allocations: 2.137 MB / 0.6229 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.5173, allocations: 8.031 kB / 0.6229 GB, free: 2.457 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.5177, allocations: 95.83 kB / 0.623 GB, free: 2.363 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/0.518, allocations: 64.8 kB / 0.6231 GB, free: 2.297 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.518, allocations: 16 kB / 0.6231 GB, free: 2.281 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.5198, allocations: 1.841 MB / 0.6249 GB, free: 336 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.5198, allocations: 7.938 kB / 0.6249 GB, free: 328 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.5217, allocations: 1.111 MB / 0.626 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.5219, allocations: 111.2 kB / 0.6261 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.522, allocations: 12 kB / 0.6261 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.5224, allocations: 32.05 kB / 0.6261 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/0.5225, allocations: 51.86 kB / 0.6262 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.5225, allocations: 20 kB / 0.6262 GB, free: 14.92 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001157/0.5237, allocations: 0.7596 MB / 0.6269 GB, free: 14.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5237, allocations: 0 / 0.6269 GB, free: 14.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001405/0.5251, allocations: 296 kB / 0.6272 GB, free: 13.86 MB / 478.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.002073/0.5272, allocations: 1.684 MB / 0.6289 GB, free: 12.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.5291, allocations: 1.069 MB / 0.6299 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5291, allocations: 0 / 0.6299 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006268/0.5297, allocations: 399.8 kB / 0.6303 GB, free: 10.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009891/0.5307, allocations: 180.6 kB / 0.6305 GB, free: 10.44 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/0.548, allocations: 11.51 MB / 0.6417 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/0.5492, allocations: 0.8552 MB / 0.6425 GB, free: 12.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00105/0.5502, allocations: 409.6 kB / 0.6429 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007426/0.551, allocations: 0.5774 MB / 0.6435 GB, free: 12 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/0.551, allocations: 0 / 0.6435 GB, free: 12 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07093/0.6219, allocations: 24.03 MB / 0.667 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.66, allocations: 4.062 kB / 0.667 GB, free: 4.332 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.321255018003285]