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.0016/0.0016, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001634/0.001634, allocations: 210.1 kB / 24.51 MB, free: 3.918 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.51/1.51, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.2365/0.2365, allocations: 46.96 MB / 361.7 MB, free: 4.047 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003099/0.003099, allocations: 67.91 kB / 0.4969 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3654, allocations: 66.03 MB / 0.5614 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01082/0.3762, allocations: 7.605 MB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007543/0.3838, allocations: 3.271 MB / 0.572 GB, free: 9.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.3851, allocations: 55.69 kB / 0.572 GB, free: 9.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002921/0.388, allocations: 1.32 MB / 0.5733 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002767/0.3908, allocations: 0.934 MB / 0.5742 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.392, allocations: 0.5225 MB / 0.5747 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002703/0.3947, allocations: 1.722 MB / 0.5764 GB, free: 4.758 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.3966, allocations: 1.264 MB / 0.5777 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.3977, allocations: 0.6776 MB / 0.5783 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.3991, allocations: 0.9347 MB / 0.5792 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002472/0.3993, allocations: 140 kB / 0.5794 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.4004, allocations: 0.5734 MB / 0.5799 GB, free: 1.121 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008003/0.4012, allocations: 0.7441 MB / 0.5807 GB, free: 384 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008802/0.4021, allocations: 0.6489 MB / 0.5813 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002967/0.4051, allocations: 2.498 MB / 0.5837 GB, free: 13.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.4051, allocations: 3.984 kB / 0.5837 GB, free: 13.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.4051, allocations: 4 kB / 0.5837 GB, free: 13.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.749e-05/0.4051, allocations: 0 / 0.5837 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.003835/0.409, allocations: 1.979 MB / 0.5857 GB, free: 11.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.409, allocations: 8.031 kB / 0.5857 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.721e-05/0.4091, allocations: 38.67 kB / 0.5857 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002996/0.4094, allocations: 249.4 kB / 0.586 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.4106, allocations: 287.5 kB / 0.5862 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.413, allocations: 1.229 MB / 0.5874 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/0.4131, allocations: 98.45 kB / 0.5875 GB, free: 9.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/0.4133, allocations: 124 kB / 0.5876 GB, free: 9.129 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005677/0.419, allocations: 3.046 MB / 0.5906 GB, free: 5.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.134e-05/0.4191, allocations: 19.83 kB / 0.5906 GB, free: 5.859 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.4192, allocations: 59.95 kB / 0.5907 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006584/0.4199, allocations: 434 kB / 0.5911 GB, free: 5.375 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004964/0.4248, allocations: 2.167 MB / 0.5932 GB, free: 3.199 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01404/0.4389, allocations: 10.25 MB / 0.6032 GB, free: 8.668 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004142/0.443, allocations: 1.199 MB / 0.6044 GB, free: 7.457 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006154/0.4436, allocations: 375 kB / 0.6048 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00373/0.4474, allocations: 2.019 MB / 0.6067 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.4474, allocations: 46.88 kB / 0.6068 GB, free: 4.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.905e-06/0.4474, allocations: 0 / 0.6068 GB, free: 4.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01236/0.4598, allocations: 3.578 MB / 0.6103 GB, free: 1.352 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.4598, allocations: 85.61 kB / 0.6104 GB, free: 1.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.4615, allocations: 1.194 MB / 0.6115 GB, free: 44 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.4615, allocations: 37.7 kB / 0.6116 GB, free: 0 / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007539/0.4623, allocations: 0.9664 MB / 0.6125 GB, free: 15.02 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.4625, allocations: 230.2 kB / 0.6127 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000406/0.4629, allocations: 311.3 kB / 0.613 GB, free: 14.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.463, allocations: 309.1 kB / 0.6133 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007027/0.4637, allocations: 415.7 kB / 0.6137 GB, free: 13.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.4651, allocations: 1.275 MB / 0.6149 GB, free: 12.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/0.4675, allocations: 1.802 MB / 0.6167 GB, free: 9.859 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.069e-05/0.4675, allocations: 8 kB / 0.6167 GB, free: 9.852 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003041/0.4705, allocations: 1.715 MB / 0.6184 GB, free: 8.125 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.4706, allocations: 16 kB / 0.6184 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.472e-05/0.4706, allocations: 28.84 kB / 0.6184 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002332/0.4708, allocations: 88.81 kB / 0.6185 GB, free: 7.992 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.472, allocations: 355.3 kB / 0.6189 GB, free: 7.645 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.4738, allocations: 1.769 MB / 0.6206 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.4749, allocations: 67.98 kB / 0.6207 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/0.4751, allocations: 84 kB / 0.6207 GB, free: 5.609 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.001102/0.4762, allocations: 0.6484 MB / 0.6214 GB, free: 4.957 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.4764, allocations: 123.2 kB / 0.6215 GB, free: 4.836 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.4767, allocations: 135.6 kB / 0.6216 GB, free: 4.699 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.4767, allocations: 8 kB / 0.6216 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.4767, allocations: 0 / 0.6216 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.4767, allocations: 0 / 0.6216 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003847/0.4806, allocations: 2.141 MB / 0.6237 GB, free: 2.453 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.4806, allocations: 8.094 kB / 0.6237 GB, free: 2.445 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.481, allocations: 99.83 kB / 0.6238 GB, free: 2.348 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002171/0.4812, allocations: 60.81 kB / 0.6239 GB, free: 2.285 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.4813, allocations: 16 kB / 0.6239 GB, free: 2.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/0.4832, allocations: 1.825 MB / 0.6257 GB, free: 340 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.4832, allocations: 12.06 kB / 0.6257 GB, free: 328 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.485, allocations: 1.107 MB / 0.6268 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.4854, allocations: 115.2 kB / 0.6269 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.4855, allocations: 16 kB / 0.6269 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.4859, allocations: 31.98 kB / 0.6269 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.486, allocations: 51.86 kB / 0.627 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.4861, allocations: 23.94 kB / 0.627 GB, free: 14.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001278/0.4874, allocations: 0.7558 MB / 0.6277 GB, free: 14.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4874, allocations: 4 kB / 0.6277 GB, free: 14.14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001659/0.489, allocations: 292 kB / 0.628 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.002396/0.4914, allocations: 1.692 MB / 0.6297 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002164/0.4936, allocations: 1.065 MB / 0.6307 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/0.4936, allocations: 4 kB / 0.6307 GB, free: 11.01 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007053/0.4943, allocations: 387.7 kB / 0.6311 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.001219/0.4955, allocations: 183.6 kB / 0.6312 GB, free: 10.44 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/0.5132, allocations: 11.51 MB / 0.6425 GB, free: 13.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.5144, allocations: 0.8591 MB / 0.6433 GB, free: 12.97 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009916/0.5153, allocations: 409.6 kB / 0.6437 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007129/0.5161, allocations: 0.5735 MB / 0.6443 GB, free: 12 MB / 494.1 MB Notification: Performance of SimCode: time 1.413e-06/0.5161, allocations: 4 kB / 0.6443 GB, free: 11.99 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06266/0.5787, allocations: 24.25 MB / 0.668 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/14.82, allocations: 11.42 kB / 0.668 GB, free: 4.121 MB / 0.4981 GB " [Timeout remaining time 645] (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: 18.67042808595579]