Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 103.7 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2062/0.2062, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 58.25 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1069, allocations: 60.84 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01304/0.12, allocations: 12.29 MB / 481.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007144/0.1271, allocations: 3.859 MB / 485.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.1284, allocations: 63.88 kB / 485.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002336/0.1307, allocations: 1.315 MB / 486.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003271/0.1341, allocations: 1.755 MB / 488.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008708/0.135, allocations: 419.2 kB / 489.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003472/0.1384, allocations: 3.572 MB / 492.6 MB, free: 6.887 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.1405, allocations: 2.021 MB / 494.7 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.1418, allocations: 1.191 MB / 495.8 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.1438, allocations: 1.744 MB / 497.6 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000425/0.1443, allocations: 240 kB / 497.8 MB, free: 1.645 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.1457, allocations: 0.8308 MB / 498.7 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.1469, allocations: 1.585 MB / 0.4885 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.1484, allocations: 1.902 MB / 0.4904 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004912/0.1534, allocations: 5.856 MB / 0.4961 GB, free: 7.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1534, allocations: 3.938 kB / 0.4961 GB, free: 7.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1534, allocations: 4 kB / 0.4961 GB, free: 7.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.406e-05/0.1535, allocations: 0 / 0.4961 GB, free: 7.426 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.006422/0.1599, allocations: 4.073 MB / 0.5001 GB, free: 3.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.16, allocations: 12.03 kB / 0.5001 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007832/0.1607, allocations: 0.7001 MB / 0.5008 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1831/0.3438, allocations: 3.079 MB / 0.5038 GB, free: 45.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004451/0.3483, allocations: 2.21 MB / 0.5059 GB, free: 45.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.3484, allocations: 187.6 kB / 0.5061 GB, free: 45.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006434/0.3491, allocations: 248.1 kB / 0.5064 GB, free: 45.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01593/0.365, allocations: 10.19 MB / 0.5163 GB, free: 41.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.123e-05/0.3651, allocations: 25.03 kB / 0.5163 GB, free: 41.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003592/0.3655, allocations: 118.8 kB / 0.5164 GB, free: 41.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003874/0.3694, allocations: 2.461 MB / 0.5188 GB, free: 40.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01522/0.3846, allocations: 9.361 MB / 0.528 GB, free: 34.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.034/0.4187, allocations: 31.67 MB / 0.5589 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005149/0.4238, allocations: 3.348 MB / 0.5622 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.4254, allocations: 1.076 MB / 0.5632 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/0.4265, allocations: 1.301 MB / 0.5645 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.4265, allocations: 51.88 kB / 0.5645 GB, free: 11.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=185): time 4.518e-06/0.4265, allocations: 0 / 0.5645 GB, free: 11.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=191): time 0.01959/0.4461, allocations: 9.107 MB / 0.5734 GB, free: 2.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.4462, allocations: 64.72 kB / 0.5735 GB, free: 2.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003408/0.4496, allocations: 2.623 MB / 0.5761 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001544/0.4498, allocations: 49.7 kB / 0.5761 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001735/0.4515, allocations: 2.666 MB / 0.5787 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007129/0.4523, allocations: 0.7054 MB / 0.5794 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/0.4534, allocations: 0.9606 MB / 0.5803 GB, free: 11.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.4535, allocations: 305.1 kB / 0.5806 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00206/0.4555, allocations: 1.541 MB / 0.5821 GB, free: 9.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003621/0.4592, allocations: 4.379 MB / 0.5864 GB, free: 3.895 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006441/0.4656, allocations: 6.559 MB / 0.5928 GB, free: 11.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.842e-05/0.4657, allocations: 28 kB / 0.5928 GB, free: 11.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.008316/0.474, allocations: 5.827 MB / 0.5985 GB, free: 6.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.244e-05/0.4741, allocations: 48.97 kB / 0.5986 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.76e-05/0.4742, allocations: 100.9 kB / 0.5987 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/0.4745, allocations: 180.8 kB / 0.5989 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/0.4774, allocations: 1.064 MB / 0.5999 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.4788, allocations: 1.797 MB / 0.6016 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/0.4813, allocations: 208 kB / 0.6018 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003135/0.4817, allocations: 292 kB / 0.6021 GB, free: 2.25 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (592): * Single equations (assignments): 585 * 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.002868/0.4845, allocations: 1.997 MB / 0.6041 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004146/0.485, allocations: 245.8 kB / 0.6043 GB, free: 0 / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003978/0.4889, allocations: 2.538 MB / 0.6068 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/0.489, allocations: 23.94 kB / 0.6068 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.489, allocations: 1.781 kB / 0.6068 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/0.489, allocations: 7.969 kB / 0.6068 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.5007, allocations: 7.957 MB / 0.6146 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/0.5008, allocations: 8 kB / 0.6146 GB, free: 5.246 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009698/0.5017, allocations: 251.6 kB / 0.6148 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001613/0.5019, allocations: 56.78 kB / 0.6149 GB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.502, allocations: 43.98 kB / 0.6149 GB, free: 4.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.5033, allocations: 1.621 MB / 0.6165 GB, free: 3.141 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/0.5033, allocations: 16 kB / 0.6165 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00469/0.508, allocations: 4.019 MB / 0.6205 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005143/0.5086, allocations: 309.8 kB / 0.6207 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002556/0.5088, allocations: 35.98 kB / 0.6208 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007479/0.5096, allocations: 51.95 kB / 0.6208 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/0.5098, allocations: 124.6 kB / 0.621 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.5099, allocations: 67.97 kB / 0.621 GB, free: 14.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002149/0.5121, allocations: 1.608 MB / 0.6226 GB, free: 12.74 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5121, allocations: 0 / 0.6226 GB, free: 12.74 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003192/0.5153, allocations: 0.7917 MB / 0.6234 GB, free: 11.95 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * 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.005141/0.5204, allocations: 4.695 MB / 0.6279 GB, free: 7.098 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007988/0.5284, allocations: 5.494 MB / 0.6333 GB, free: 1.633 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.5285, allocations: 0 / 0.6333 GB, free: 1.633 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.53, allocations: 1.244 MB / 0.6345 GB, free: 392 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.5318, allocations: 350.5 kB / 0.6349 GB, free: 56 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04248/0.5743, allocations: 35.74 MB / 0.6698 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003244/0.5776, allocations: 3.126 MB / 0.6728 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003891/0.5815, allocations: 1.714 MB / 0.6745 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002258/0.5838, allocations: 1.698 MB / 0.6761 GB, free: 272 kB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.5838, allocations: 7.938 kB / 0.6762 GB, free: 264 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2743/0.8581, allocations: 48.48 MB / 0.7235 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.52, allocations: 0 / 0.7235 GB, free: 162.5 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches