Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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.001419/0.001419, allocations: 109 kB / 20.48 MB, free: 1.492 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.001503/0.001503, allocations: 215.8 kB / 23.79 MB, free: 4.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 207.6 MB / 234.6 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.252/0.252, allocations: 44.25 MB / 331.1 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 179] 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.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.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003751/0.003751, allocations: 71.91 kB / 468.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1475, allocations: 61.04 MB / 0.5169 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01617/0.1637, allocations: 12.75 MB / 0.5294 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.1738, allocations: 3.922 MB / 0.5332 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00258/0.1764, allocations: 75.75 kB / 0.5333 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003768/0.1802, allocations: 1.362 MB / 0.5346 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005588/0.1858, allocations: 1.837 MB / 0.5364 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.1872, allocations: 423.2 kB / 0.5368 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2629/0.4501, allocations: 3.653 MB / 0.5404 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005005/0.4551, allocations: 1.883 MB / 0.5422 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003607/0.4587, allocations: 1.259 MB / 0.5434 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004323/0.463, allocations: 1.958 MB / 0.5454 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001518/0.4646, allocations: 243 kB / 0.5456 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003304/0.4679, allocations: 0.8527 MB / 0.5464 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003582/0.4714, allocations: 1.664 MB / 0.548 GB, free: 9.703 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005313/0.4767, allocations: 1.945 MB / 0.5499 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01506/0.4918, allocations: 6.294 MB / 0.5561 GB, free: 7.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.208e-05/0.4918, allocations: 0 / 0.5561 GB, free: 7.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.388e-06/0.4918, allocations: 0.9375 kB / 0.5561 GB, free: 7.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004173/0.4922, allocations: 0 / 0.5561 GB, free: 7.484 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.02148/0.5137, allocations: 4.205 MB / 0.5602 GB, free: 5.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.253e-05/0.5138, allocations: 9.344 kB / 0.5602 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000413/0.5142, allocations: 102.8 kB / 0.5603 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004074/0.5183, allocations: 0.7204 MB / 0.561 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/0.532, allocations: 3.112 MB / 0.564 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007505/0.5395, allocations: 2.356 MB / 0.5663 GB, free: 3.113 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003357/0.5399, allocations: 190.5 kB / 0.5665 GB, free: 3.066 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002153/0.542, allocations: 260 kB / 0.5668 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02847/0.5705, allocations: 10.39 MB / 0.5769 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002259/0.5707, allocations: 23.28 kB / 0.5769 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001638/0.5724, allocations: 122.2 kB / 0.5771 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005111/0.5775, allocations: 2.555 MB / 0.5796 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02286/0.6003, allocations: 9.453 MB / 0.5888 GB, free: 5.805 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06452/0.6648, allocations: 32.21 MB / 0.6202 GB, free: 5.312 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006822/0.6717, allocations: 2.374 MB / 0.6226 GB, free: 2.941 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002027/0.6737, allocations: 1.003 MB / 0.6235 GB, free: 1.941 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/0.6747, allocations: 433 kB / 0.6239 GB, free: 1.527 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.613e-05/0.6748, allocations: 51.86 kB / 0.624 GB, free: 1.469 MB / 462.1 MB Notification: Performance of pre-optimization done (n=187): time 6.973e-06/0.6748, allocations: 0 / 0.624 GB, free: 1.469 MB / 462.1 MB Notification: Performance of matching and sorting (n=193): time 0.02729/0.7021, allocations: 9.71 MB / 0.6335 GB, free: 7.734 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.7022, allocations: 94.42 kB / 0.6336 GB, free: 7.625 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00565/0.7078, allocations: 2.674 MB / 0.6362 GB, free: 4.934 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003381/0.7082, allocations: 45.7 kB / 0.6362 GB, free: 4.883 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002881/0.7111, allocations: 2.87 MB / 0.639 GB, free: 2.023 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001191/0.7122, allocations: 0.7423 MB / 0.6397 GB, free: 1.289 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002431/0.7147, allocations: 0.9855 MB / 0.6407 GB, free: 304 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.7149, allocations: 309.1 kB / 0.641 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003015/0.7179, allocations: 1.559 MB / 0.6425 GB, free: 14.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005764/0.7236, allocations: 4.469 MB / 0.6469 GB, free: 8.559 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009159/0.7328, allocations: 6.681 MB / 0.6534 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.038e-05/0.7329, allocations: 28 kB / 0.6534 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.01217/0.7451, allocations: 5.941 MB / 0.6592 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.519e-05/0.7451, allocations: 52.12 kB / 0.6593 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001485/0.7453, allocations: 108 kB / 0.6594 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003951/0.7457, allocations: 180.8 kB / 0.6596 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00375/0.7494, allocations: 1.089 MB / 0.6606 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.7514, allocations: 1.702 MB / 0.6623 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003426/0.7548, allocations: 212 kB / 0.6625 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008462/0.7557, allocations: 303.4 kB / 0.6628 GB, free: 7.062 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (605): * Single equations (assignments): 598 * Array equations: 6 * 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.005073/0.7607, allocations: 2.028 MB / 0.6648 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006479/0.7614, allocations: 266.2 kB / 0.665 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005044/0.7664, allocations: 2.538 MB / 0.6675 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.632e-05/0.7665, allocations: 24 kB / 0.6675 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.7665, allocations: 5.25 kB / 0.6675 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.998e-05/0.7665, allocations: 7.969 kB / 0.6675 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/0.7848, allocations: 8.12 MB / 0.6755 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/0.7848, allocations: 8.25 kB / 0.6755 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.786, allocations: 259.6 kB / 0.6757 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002422/0.7862, allocations: 57.48 kB / 0.6758 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/0.7864, allocations: 39.98 kB / 0.6758 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.788, allocations: 1.533 MB / 0.6773 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/0.788, allocations: 15.94 kB / 0.6773 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006811/0.7949, allocations: 4.064 MB / 0.6813 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/0.7964, allocations: 450.1 kB / 0.6817 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006161/0.7971, allocations: 39.98 kB / 0.6818 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.7983, allocations: 56.08 kB / 0.6818 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003215/0.7986, allocations: 135.5 kB / 0.6819 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/0.7988, allocations: 64 kB / 0.682 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003418/0.8022, allocations: 1.648 MB / 0.6836 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8022, allocations: 0 / 0.6836 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005004/0.8072, allocations: 0.8158 MB / 0.6844 GB, free: 480 kB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.00754/0.8147, allocations: 4.744 MB / 0.689 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00711/0.8218, allocations: 3.758 MB / 0.6927 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/0.8219, allocations: 4 kB / 0.6927 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.8238, allocations: 1.171 MB / 0.6939 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.8259, allocations: 336.6 kB / 0.6942 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06313/0.889, allocations: 34.25 MB / 0.7276 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007534/0.8966, allocations: 3.191 MB / 0.7307 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004971/0.9015, allocations: 1.745 MB / 0.7325 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004073/0.9056, allocations: 1.749 MB / 0.7342 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of SimCode: time 1.623e-06/0.9056, allocations: 4 kB / 0.7342 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.375/1.281, allocations: 50.71 MB / 0.7837 GB, free: 215.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.43/20.71, allocations: 12.64 kB / 0.7837 GB, free: 215.6 MB / 0.6075 GB " [Timeout remaining time 639] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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: 24.84864193602698]