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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 119.9 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 191.7 kB / 20.07 MB, free: 2.992 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.558/1.558, allocations: 207.6 MB / 230.4 MB, free: 4.055 MB / 174.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.3843/0.3843, allocations: 44.24 MB / 326.5 MB, free: 6.793 MB / 254.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.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 75.88 kB / 462.2 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3232, allocations: 60.99 MB / 0.5109 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01065/0.3339, allocations: 12.72 MB / 0.5233 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008528/0.3424, allocations: 3.922 MB / 0.5272 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002237/0.3446, allocations: 59.88 kB / 0.5272 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003108/0.3477, allocations: 1.346 MB / 0.5285 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005589/0.3533, allocations: 1.829 MB / 0.5303 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.3546, allocations: 423.2 kB / 0.5307 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005957/0.3606, allocations: 3.66 MB / 0.5343 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002613/0.3632, allocations: 1.806 MB / 0.5361 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.3653, allocations: 1.238 MB / 0.5373 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002682/0.368, allocations: 1.958 MB / 0.5392 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005442/0.3685, allocations: 240 kB / 0.5394 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.3702, allocations: 0.8542 MB / 0.5402 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001737/0.3719, allocations: 1.659 MB / 0.5419 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002116/0.374, allocations: 1.949 MB / 0.5438 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007601/0.3816, allocations: 6.3 MB / 0.5499 GB, free: 6.887 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3816, allocations: 0 / 0.5499 GB, free: 6.887 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3817, allocations: 0 / 0.5499 GB, free: 6.887 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001267/0.3818, allocations: 0 / 0.5499 GB, free: 6.887 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.007486/0.3893, allocations: 4.281 MB / 0.5541 GB, free: 2.527 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.3893, allocations: 15.89 kB / 0.5541 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009434/0.3903, allocations: 0.7207 MB / 0.5548 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/0.401, allocations: 3.114 MB / 0.5579 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006294/0.4073, allocations: 2.397 MB / 0.5602 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.4075, allocations: 196.9 kB / 0.5604 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007298/0.4082, allocations: 259.8 kB / 0.5606 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0169/0.4251, allocations: 10.38 MB / 0.5708 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001236/0.4252, allocations: 31.78 kB / 0.5708 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006392/0.4259, allocations: 127.8 kB / 0.5709 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004345/0.4302, allocations: 2.561 MB / 0.5734 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01917/0.4494, allocations: 9.444 MB / 0.5827 GB, free: 4.742 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05637/0.5057, allocations: 32.33 MB / 0.6142 GB, free: 3.543 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006476/0.5122, allocations: 3.272 MB / 0.6174 GB, free: 36 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.514, allocations: 0.9947 MB / 0.6184 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001463/0.5155, allocations: 1.31 MB / 0.6197 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.5155, allocations: 43.88 kB / 0.6197 GB, free: 13.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=187): time 4.709e-06/0.5155, allocations: 4 kB / 0.6197 GB, free: 13.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.02386/0.5394, allocations: 9.931 MB / 0.6294 GB, free: 3.426 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/0.5395, allocations: 90.42 kB / 0.6295 GB, free: 3.316 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005844/0.5453, allocations: 2.678 MB / 0.6321 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002885/0.5456, allocations: 53.73 kB / 0.6322 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003103/0.5487, allocations: 2.861 MB / 0.635 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001404/0.5501, allocations: 0.748 MB / 0.6357 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002612/0.5527, allocations: 0.9851 MB / 0.6367 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.5529, allocations: 309 kB / 0.637 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002978/0.5559, allocations: 1.556 MB / 0.6385 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006549/0.5624, allocations: 4.473 MB / 0.6428 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2833/0.8457, allocations: 6.673 MB / 0.6494 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001057/0.8458, allocations: 30.39 kB / 0.6494 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=657) (initialization): time 0.01143/0.8572, allocations: 5.946 MB / 0.6552 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.957e-05/0.8573, allocations: 46.19 kB / 0.6552 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002285/0.8575, allocations: 102.1 kB / 0.6553 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005848/0.8581, allocations: 180.9 kB / 0.6555 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003506/0.8616, allocations: 1.093 MB / 0.6566 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.863, allocations: 1.795 MB / 0.6583 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003008/0.866, allocations: 211.6 kB / 0.6585 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004318/0.8665, allocations: 304.5 kB / 0.6588 GB, free: 110.5 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.002871/0.8693, allocations: 2.032 MB / 0.6608 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003437/0.8697, allocations: 267.5 kB / 0.6611 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003163/0.8728, allocations: 2.538 MB / 0.6635 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/0.8729, allocations: 23.78 kB / 0.6636 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.8729, allocations: 0 / 0.6636 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.8729, allocations: 11.64 kB / 0.6636 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/0.8834, allocations: 8.15 MB / 0.6715 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/0.8834, allocations: 13.56 kB / 0.6715 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009136/0.8843, allocations: 256.8 kB / 0.6718 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001616/0.8845, allocations: 54.3 kB / 0.6718 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.45e-05/0.8846, allocations: 42.42 kB / 0.6719 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.8856, allocations: 1.633 MB / 0.6735 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.8856, allocations: 19.25 kB / 0.6735 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004001/0.8896, allocations: 4.064 MB / 0.6775 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.8908, allocations: 0.5121 MB / 0.678 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002891/0.8911, allocations: 43.3 kB / 0.678 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007599/0.8919, allocations: 55.72 kB / 0.6781 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.892, allocations: 124.1 kB / 0.6782 GB, free: 100.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.741e-05/0.8921, allocations: 64.94 kB / 0.6782 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001947/0.8941, allocations: 1.64 MB / 0.6798 GB, free: 98.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.8941, allocations: 4 kB / 0.6798 GB, free: 98.99 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004075/0.8982, allocations: 0.82 MB / 0.6806 GB, free: 98.17 MB / 0.4981 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.004391/0.9026, allocations: 4.743 MB / 0.6853 GB, free: 93.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004966/0.9075, allocations: 3.76 MB / 0.6889 GB, free: 89.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.9075, allocations: 0.5469 kB / 0.6889 GB, free: 89.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.9088, allocations: 1.182 MB / 0.6901 GB, free: 88.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.9107, allocations: 348.1 kB / 0.6904 GB, free: 88.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04021/0.9509, allocations: 34.15 MB / 0.7238 GB, free: 49.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003095/0.954, allocations: 3.187 MB / 0.7269 GB, free: 46.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003167/0.9572, allocations: 1.742 MB / 0.7286 GB, free: 44.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001686/0.9589, allocations: 1.749 MB / 0.7303 GB, free: 42.94 MB / 0.4981 GB Notification: Performance of SimCode: time 1.382e-06/0.9589, allocations: 4 kB / 0.7303 GB, free: 42.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07956/1.038, allocations: 46.63 MB / 0.7758 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.18/19.22, allocations: 15.75 kB / 0.7759 GB, free: 12.27 MB / 0.5137 GB " [Timeout remaining time 641] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 22.624872989952564]