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.001843/0.001843, allocations: 111.7 kB / 19.69 MB, free: 2.207 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.002581/0.002581, allocations: 222.5 kB / 23.01 MB, free: 5.062 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.627/1.627, allocations: 207.6 MB / 233.8 MB, free: 9.996 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.2423/0.2423, allocations: 44.24 MB / 330.3 MB, free: 9.531 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="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.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.002474/0.002474, allocations: 67.34 kB / 467.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1189, allocations: 61.06 MB / 0.5162 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01612/0.135, allocations: 12.73 MB / 0.5286 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009395/0.1444, allocations: 3.934 MB / 0.5324 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002191/0.1466, allocations: 71.75 kB / 0.5325 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003507/0.1501, allocations: 1.362 MB / 0.5338 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004747/0.1549, allocations: 1.845 MB / 0.5356 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1561, allocations: 423.2 kB / 0.536 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2371/0.3932, allocations: 3.648 MB / 0.5396 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003449/0.3966, allocations: 1.885 MB / 0.5414 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.3991, allocations: 1.259 MB / 0.5427 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003127/0.4023, allocations: 1.956 MB / 0.5446 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007294/0.403, allocations: 243 kB / 0.5448 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.4047, allocations: 0.8563 MB / 0.5456 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001664/0.4064, allocations: 1.663 MB / 0.5473 GB, free: 9.691 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002167/0.4086, allocations: 1.944 MB / 0.5492 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008155/0.4167, allocations: 6.297 MB / 0.5553 GB, free: 7.492 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4167, allocations: 0 / 0.5553 GB, free: 7.492 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4167, allocations: 2.531 kB / 0.5553 GB, free: 7.492 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002388/0.417, allocations: 1.688 kB / 0.5553 GB, free: 7.492 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.0118/0.4288, allocations: 4.208 MB / 0.5594 GB, free: 5.117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.4288, allocations: 9.594 kB / 0.5594 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002547/0.4314, allocations: 0.7186 MB / 0.5601 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/0.4427, allocations: 3.116 MB / 0.5632 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005958/0.4487, allocations: 2.345 MB / 0.5655 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/0.4489, allocations: 196.9 kB / 0.5657 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001159/0.45, allocations: 261.3 kB / 0.5659 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01807/0.4681, allocations: 10.39 MB / 0.5761 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/0.4682, allocations: 30.61 kB / 0.5761 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006659/0.4689, allocations: 122.3 kB / 0.5762 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004492/0.4734, allocations: 2.557 MB / 0.5787 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02014/0.4935, allocations: 9.451 MB / 0.5879 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0586/0.5521, allocations: 32.21 MB / 0.6194 GB, free: 5.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006383/0.5585, allocations: 2.362 MB / 0.6217 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.5603, allocations: 0.9995 MB / 0.6227 GB, free: 2.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009873/0.5613, allocations: 438 kB / 0.6231 GB, free: 1.652 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/0.5614, allocations: 50.7 kB / 0.6231 GB, free: 1.598 MB / 462.1 MB Notification: Performance of pre-optimization done (n=187): time 5.64e-06/0.5614, allocations: 4 kB / 0.6231 GB, free: 1.594 MB / 462.1 MB Notification: Performance of matching and sorting (n=193): time 0.02634/0.5877, allocations: 9.712 MB / 0.6326 GB, free: 7.859 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.5878, allocations: 94.42 kB / 0.6327 GB, free: 7.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005381/0.5932, allocations: 2.678 MB / 0.6353 GB, free: 5.055 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002669/0.5934, allocations: 49.73 kB / 0.6354 GB, free: 5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002794/0.5962, allocations: 2.866 MB / 0.6382 GB, free: 2.141 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009508/0.5972, allocations: 0.7465 MB / 0.6389 GB, free: 1.406 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001992/0.5992, allocations: 0.9795 MB / 0.6399 GB, free: 428 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5993, allocations: 305.1 kB / 0.6401 GB, free: 120 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002794/0.6021, allocations: 1.563 MB / 0.6417 GB, free: 14.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005711/0.6078, allocations: 4.47 MB / 0.646 GB, free: 8.684 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009113/0.6169, allocations: 6.678 MB / 0.6526 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-05/0.617, allocations: 28 kB / 0.6526 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.01163/0.6286, allocations: 5.95 MB / 0.6584 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.6287, allocations: 51.94 kB / 0.6584 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/0.6289, allocations: 104 kB / 0.6585 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003757/0.6292, allocations: 180.6 kB / 0.6587 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003841/0.6331, allocations: 1.088 MB / 0.6598 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.6352, allocations: 1.697 MB / 0.6614 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003243/0.6385, allocations: 216 kB / 0.6616 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009197/0.6394, allocations: 304 kB / 0.6619 GB, free: 7.188 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.004937/0.6443, allocations: 2.027 MB / 0.6639 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000679/0.645, allocations: 270.2 kB / 0.6642 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00523/0.6502, allocations: 2.537 MB / 0.6666 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.296e-05/0.6503, allocations: 24 kB / 0.6667 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.6503, allocations: 0.875 kB / 0.6667 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-05/0.6503, allocations: 7.969 kB / 0.6667 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01992/0.6702, allocations: 8.124 MB / 0.6746 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-05/0.6703, allocations: 8.219 kB / 0.6746 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/0.6721, allocations: 255.6 kB / 0.6749 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002789/0.6723, allocations: 56.83 kB / 0.6749 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003259/0.6727, allocations: 40 kB / 0.675 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002429/0.6751, allocations: 1.526 MB / 0.6764 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.877e-05/0.6751, allocations: 15.94 kB / 0.6765 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009519/0.6846, allocations: 4.068 MB / 0.6804 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002211/0.6868, allocations: 446.1 kB / 0.6809 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009384/0.6878, allocations: 48.05 kB / 0.6809 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/0.6897, allocations: 51.95 kB / 0.681 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005171/0.6902, allocations: 140 kB / 0.6811 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002921/0.6905, allocations: 60 kB / 0.6811 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005287/0.6958, allocations: 1.64 MB / 0.6827 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6958, allocations: 0 / 0.6827 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008569/0.7043, allocations: 0.8193 MB / 0.6835 GB, free: 0.6016 MB / 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.01157/0.7159, allocations: 4.748 MB / 0.6882 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01077/0.7267, allocations: 3.754 MB / 0.6919 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/0.7267, allocations: 4 kB / 0.6919 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003253/0.7299, allocations: 1.174 MB / 0.693 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004124/0.7341, allocations: 341.2 kB / 0.6933 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09331/0.8274, allocations: 34.25 MB / 0.7268 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008114/0.8355, allocations: 3.195 MB / 0.7299 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005295/0.8408, allocations: 1.738 MB / 0.7316 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004615/0.8454, allocations: 1.749 MB / 0.7333 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of SimCode: time 1.633e-06/0.8454, allocations: 0 / 0.7333 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3523/1.198, allocations: 50.69 MB / 0.7828 GB, free: 215.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.44/20.64, allocations: 14.69 kB / 0.7828 GB, free: 215.4 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.192828664090484]