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) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 106.9 kB / 16.41 MB, free: 6.48 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.001417/0.001417, allocations: 189.5 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2213/0.2213, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 254.1 MB 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.001541/0.001541, allocations: 71.89 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1235, allocations: 57.8 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01329/0.1368, allocations: 12.66 MB / 0.4998 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008813/0.1457, allocations: 3.887 MB / 0.5036 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002583/0.1483, allocations: 63.88 kB / 0.5036 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003377/0.1517, allocations: 1.331 MB / 0.5049 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005838/0.1577, allocations: 1.778 MB / 0.5067 GB, free: 8.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.1592, allocations: 427.2 kB / 0.5071 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006612/0.1658, allocations: 3.661 MB / 0.5106 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003937/0.1698, allocations: 2.044 MB / 0.5126 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.1726, allocations: 1.241 MB / 0.5139 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003886/0.1765, allocations: 1.767 MB / 0.5156 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001314/0.1779, allocations: 244 kB / 0.5158 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.1807, allocations: 0.823 MB / 0.5166 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003233/0.1839, allocations: 1.628 MB / 0.5182 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00407/0.188, allocations: 1.945 MB / 0.5201 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008472/0.1965, allocations: 6.27 MB / 0.5262 GB, free: 4.371 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1966, allocations: 4 kB / 0.5262 GB, free: 4.367 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1966, allocations: 7.938 kB / 0.5262 GB, free: 4.359 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002239/0.1968, allocations: 0 / 0.5262 GB, free: 4.359 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.009206/0.206, allocations: 4.156 MB / 0.5303 GB, free: 136 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.2061, allocations: 15.89 kB / 0.5303 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2806/0.4867, allocations: 0.7207 MB / 0.531 GB, free: 37.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.4987, allocations: 3.082 MB / 0.534 GB, free: 37.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00723/0.5059, allocations: 2.394 MB / 0.5364 GB, free: 36.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000303/0.5063, allocations: 193.8 kB / 0.5366 GB, free: 36.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/0.5078, allocations: 255.7 kB / 0.5368 GB, free: 36.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01953/0.5274, allocations: 10.39 MB / 0.5469 GB, free: 33.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/0.5275, allocations: 27.03 kB / 0.547 GB, free: 33.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004782/0.528, allocations: 126.6 kB / 0.5471 GB, free: 33.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004346/0.5324, allocations: 2.555 MB / 0.5496 GB, free: 32.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01788/0.5503, allocations: 9.458 MB / 0.5588 GB, free: 26.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0447/0.595, allocations: 32.25 MB / 0.5903 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005973/0.6011, allocations: 3.372 MB / 0.5936 GB, free: 5.793 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.6028, allocations: 1.087 MB / 0.5947 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/0.604, allocations: 1.308 MB / 0.5959 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.604, allocations: 51.88 kB / 0.596 GB, free: 3.121 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 5.601e-06/0.6041, allocations: 0 / 0.596 GB, free: 3.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02333/0.6274, allocations: 9.81 MB / 0.6056 GB, free: 9.195 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.6275, allocations: 98.41 kB / 0.6057 GB, free: 9.078 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00383/0.6313, allocations: 2.661 MB / 0.6083 GB, free: 6.398 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003068/0.6317, allocations: 53.69 kB / 0.6083 GB, free: 6.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001968/0.6337, allocations: 2.743 MB / 0.611 GB, free: 3.555 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008522/0.6345, allocations: 0.7093 MB / 0.6117 GB, free: 2.836 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001372/0.6359, allocations: 0.9844 MB / 0.6127 GB, free: 1.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.243e-05/0.636, allocations: 301.1 kB / 0.6129 GB, free: 1.543 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/0.6382, allocations: 1.559 MB / 0.6145 GB, free: 15.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004335/0.6426, allocations: 4.473 MB / 0.6188 GB, free: 10.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00774/0.6504, allocations: 6.679 MB / 0.6254 GB, free: 1.945 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001132/0.6505, allocations: 28 kB / 0.6254 GB, free: 1.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.01056/0.6611, allocations: 5.929 MB / 0.6312 GB, free: 11.97 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.289e-05/0.6612, allocations: 56.16 kB / 0.6312 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001255/0.6614, allocations: 104 kB / 0.6313 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003316/0.6617, allocations: 180.8 kB / 0.6315 GB, free: 11.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003263/0.665, allocations: 1.096 MB / 0.6326 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.6666, allocations: 1.794 MB / 0.6343 GB, free: 8.605 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/0.6696, allocations: 212 kB / 0.6345 GB, free: 8.398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005957/0.6703, allocations: 300 kB / 0.6348 GB, free: 8.105 MB / 478.1 MB 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.003244/0.6735, allocations: 2.04 MB / 0.6368 GB, free: 6.051 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005082/0.674, allocations: 256.6 kB / 0.637 GB, free: 5.797 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/0.6778, allocations: 2.534 MB / 0.6395 GB, free: 3.238 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.023e-05/0.6779, allocations: 31.88 kB / 0.6395 GB, free: 3.207 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.6779, allocations: 0 / 0.6395 GB, free: 3.207 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/0.6779, allocations: 9.984 kB / 0.6396 GB, free: 3.199 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/0.6917, allocations: 8.135 MB / 0.6475 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.6917, allocations: 12 kB / 0.6475 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.6927, allocations: 247.6 kB / 0.6477 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/0.6929, allocations: 61.55 kB / 0.6478 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.693, allocations: 51.98 kB / 0.6479 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.6944, allocations: 1.633 MB / 0.6495 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.6944, allocations: 15.94 kB / 0.6495 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004984/0.6994, allocations: 4.059 MB / 0.6534 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/0.7007, allocations: 0.4939 MB / 0.6539 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002876/0.701, allocations: 39.98 kB / 0.654 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007493/0.7018, allocations: 55.95 kB / 0.654 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.702, allocations: 124.6 kB / 0.6541 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/0.7021, allocations: 71.97 kB / 0.6542 GB, free: 3.703 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002643/0.7048, allocations: 1.648 MB / 0.6558 GB, free: 2.043 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7048, allocations: 0 / 0.6558 GB, free: 2.043 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004133/0.7089, allocations: 0.8074 MB / 0.6566 GB, free: 1.238 MB / 494.1 MB 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.00648/0.7154, allocations: 4.724 MB / 0.6612 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006366/0.7218, allocations: 3.928 MB / 0.665 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/0.7219, allocations: 0 / 0.665 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/0.7236, allocations: 1.245 MB / 0.6663 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.726, allocations: 338.2 kB / 0.6666 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05424/0.7802, allocations: 33.97 MB / 0.6998 GB, free: 480 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004531/0.7848, allocations: 3.191 MB / 0.7029 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003785/0.7886, allocations: 1.745 MB / 0.7046 GB, free: 11.49 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002371/0.791, allocations: 1.749 MB / 0.7063 GB, free: 9.742 MB / 0.545 GB Notification: Performance of SimCode: time 1.082e-06/0.7911, allocations: 4 kB / 0.7063 GB, free: 9.738 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3529/1.144, allocations: 46.97 MB / 0.7522 GB, free: 191.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.2/18.35, allocations: 4.953 kB / 0.7522 GB, free: 191.8 MB / 0.5762 GB (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 --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) 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) Reference file matches