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.001553/0.001553, allocations: 109 kB / 16.41 MB, free: 6.508 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.001711/0.001711, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.472/1.472, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2239/0.2239, allocations: 43.52 MB / 314.1 MB, free: 456 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.002155/0.002155, allocations: 65.45 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1139, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01461/0.1286, allocations: 12.66 MB / 0.4998 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007999/0.1366, allocations: 3.898 MB / 0.5036 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002102/0.1388, allocations: 63.88 kB / 0.5036 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003425/0.1422, allocations: 1.331 MB / 0.5049 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004764/0.1471, allocations: 1.778 MB / 0.5067 GB, free: 8.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.1482, allocations: 423.3 kB / 0.5071 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005424/0.1537, allocations: 3.661 MB / 0.5107 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003086/0.1568, allocations: 2.04 MB / 0.5126 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.159, allocations: 1.238 MB / 0.5139 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/0.1616, allocations: 1.771 MB / 0.5156 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007038/0.1624, allocations: 240 kB / 0.5158 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.1643, allocations: 0.823 MB / 0.5166 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001953/0.1663, allocations: 1.632 MB / 0.5182 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002704/0.169, allocations: 1.941 MB / 0.5201 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008082/0.1771, allocations: 6.301 MB / 0.5263 GB, free: 4.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.1771, allocations: 4 kB / 0.5263 GB, free: 4.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1772, allocations: 0 / 0.5263 GB, free: 4.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001799/0.1773, allocations: 0 / 0.5263 GB, free: 4.301 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.2688/0.4462, allocations: 4.28 MB / 0.5304 GB, free: 37.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.4462, allocations: 13.64 kB / 0.5305 GB, free: 37.1 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002022/0.4483, allocations: 0.7213 MB / 0.5312 GB, free: 37.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.4595, allocations: 3.112 MB / 0.5342 GB, free: 36.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005374/0.4649, allocations: 2.397 MB / 0.5365 GB, free: 36.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.4651, allocations: 200.4 kB / 0.5367 GB, free: 36.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001055/0.4662, allocations: 256.4 kB / 0.537 GB, free: 36.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/0.4857, allocations: 10.39 MB / 0.5471 GB, free: 32.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/0.4859, allocations: 26.77 kB / 0.5471 GB, free: 32.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007005/0.4866, allocations: 119.4 kB / 0.5473 GB, free: 32.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00433/0.491, allocations: 2.563 MB / 0.5498 GB, free: 31.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/0.5081, allocations: 9.451 MB / 0.559 GB, free: 25.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04251/0.5506, allocations: 32.34 MB / 0.5906 GB, free: 8.703 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006155/0.5568, allocations: 3.368 MB / 0.5939 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.5585, allocations: 1.077 MB / 0.5949 GB, free: 4.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/0.5599, allocations: 1.308 MB / 0.5962 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/0.5599, allocations: 43.88 kB / 0.5962 GB, free: 2.445 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 4.549e-06/0.56, allocations: 0 / 0.5962 GB, free: 2.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02286/0.5828, allocations: 9.938 MB / 0.6059 GB, free: 8.465 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.5829, allocations: 94.36 kB / 0.606 GB, free: 8.352 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004088/0.587, allocations: 2.682 MB / 0.6086 GB, free: 5.652 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002736/0.5873, allocations: 45.7 kB / 0.6087 GB, free: 5.602 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002372/0.5897, allocations: 2.865 MB / 0.6115 GB, free: 2.707 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009558/0.5907, allocations: 0.7513 MB / 0.6122 GB, free: 1.953 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001604/0.5923, allocations: 0.9812 MB / 0.6132 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5925, allocations: 305.1 kB / 0.6135 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002599/0.5951, allocations: 1.556 MB / 0.615 GB, free: 15.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005443/0.6005, allocations: 4.469 MB / 0.6194 GB, free: 9.176 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009062/0.6096, allocations: 6.687 MB / 0.6259 GB, free: 1.059 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001135/0.6098, allocations: 28 kB / 0.6259 GB, free: 1.031 MB / 462.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.01212/0.6219, allocations: 5.946 MB / 0.6317 GB, free: 11.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.6221, allocations: 48 kB / 0.6318 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001558/0.6223, allocations: 104 kB / 0.6319 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004514/0.6227, allocations: 176.8 kB / 0.632 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003812/0.6265, allocations: 1.092 MB / 0.6331 GB, free: 9.652 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.6287, allocations: 1.799 MB / 0.6349 GB, free: 7.715 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003321/0.6321, allocations: 208 kB / 0.6351 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009483/0.6331, allocations: 304 kB / 0.6353 GB, free: 7.215 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.004133/0.6372, allocations: 2.04 MB / 0.6373 GB, free: 5.16 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005727/0.6378, allocations: 270.2 kB / 0.6376 GB, free: 4.895 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004546/0.6424, allocations: 2.53 MB / 0.6401 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-05/0.6425, allocations: 30.56 kB / 0.6401 GB, free: 2.312 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6425, allocations: 0 / 0.6401 GB, free: 2.312 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.143e-05/0.6425, allocations: 7.969 kB / 0.6401 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.6585, allocations: 8.149 MB / 0.6481 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-05/0.6586, allocations: 12 kB / 0.6481 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.6597, allocations: 259.7 kB / 0.6483 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/0.6599, allocations: 56.83 kB / 0.6484 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/0.6601, allocations: 39.98 kB / 0.6484 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.6618, allocations: 1.637 MB / 0.65 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.575e-05/0.6618, allocations: 15.94 kB / 0.65 GB, free: 7.805 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006324/0.6682, allocations: 4.06 MB / 0.654 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/0.6694, allocations: 0.5187 MB / 0.6545 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/0.6697, allocations: 39.97 kB / 0.6545 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008006/0.6706, allocations: 60.02 kB / 0.6546 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.6708, allocations: 120.6 kB / 0.6547 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.6709, allocations: 67.98 kB / 0.6548 GB, free: 2.766 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002406/0.6733, allocations: 1.64 MB / 0.6564 GB, free: 1.117 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6733, allocations: 0 / 0.6564 GB, free: 1.117 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003431/0.6768, allocations: 0.8197 MB / 0.6572 GB, free: 308 kB / 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.006154/0.683, allocations: 4.742 MB / 0.6618 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006707/0.6897, allocations: 3.915 MB / 0.6656 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/0.6897, allocations: 5.938 kB / 0.6656 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001856/0.6916, allocations: 1.247 MB / 0.6669 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.6936, allocations: 337.3 kB / 0.6672 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05622/0.7498, allocations: 34.14 MB / 0.7005 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005583/0.7554, allocations: 3.195 MB / 0.7036 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004251/0.7597, allocations: 1.738 MB / 0.7053 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003193/0.7629, allocations: 1.749 MB / 0.707 GB, free: 8.598 MB / 0.545 GB Notification: Performance of SimCode: time 9.92e-07/0.763, allocations: 0 / 0.707 GB, free: 8.598 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3258/1.089, allocations: 46.31 MB / 0.7523 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.76/19.85, allocations: 7.594 kB / 0.7523 GB, free: 191.7 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