Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",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.001433/0.001432, allocations: 107 kB / 15.98 MB, free: 6.352 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.001286/0.001286, allocations: 189.2 kB / 16.91 MB, free: 6.191 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.498/1.498, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3304/0.3304, allocations: 43.5 MB / 313.6 MB, free: 8.559 MB / 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.001375/0.001375, allocations: 67.91 kB / 382.3 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1355, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.2811/0.4167, allocations: 26.16 MB / 466.3 MB, free: 35.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01332/0.43, allocations: 6.283 MB / 472.5 MB, free: 32.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004462/0.4345, allocations: 105.3 kB / 472.6 MB, free: 32.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.4371, allocations: 1.32 MB / 474 MB, free: 31.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.4392, allocations: 0.8661 MB / 474.8 MB, free: 31.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009314/0.4401, allocations: 498.5 kB / 475.3 MB, free: 31.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.4419, allocations: 1.69 MB / 477 MB, free: 30.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.4435, allocations: 1.739 MB / 478.7 MB, free: 30.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000695/0.4442, allocations: 0.694 MB / 479.4 MB, free: 29.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008773/0.4451, allocations: 0.9683 MB / 480.4 MB, free: 29.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.4452, allocations: 140.2 kB / 480.5 MB, free: 29.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009657/0.4462, allocations: 0.6109 MB / 481.2 MB, free: 29.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005915/0.4468, allocations: 0.7251 MB / 481.9 MB, free: 28.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005916/0.4474, allocations: 0.8517 MB / 482.7 MB, free: 28.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.4492, allocations: 2.477 MB / 485.2 MB, free: 27.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4492, allocations: 0 / 485.2 MB, free: 27.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4493, allocations: 0 / 485.2 MB, free: 27.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.281e-05/0.4493, allocations: 0 / 485.2 MB, free: 27.47 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.002993/0.4523, allocations: 2.036 MB / 487.2 MB, free: 26.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.4523, allocations: 12.8 kB / 487.3 MB, free: 26.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002738/0.4526, allocations: 244.5 kB / 487.5 MB, free: 26.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.4539, allocations: 277.7 kB / 487.8 MB, free: 26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.4561, allocations: 1.51 MB / 489.3 MB, free: 25.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-05/0.4562, allocations: 98.7 kB / 489.4 MB, free: 25.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.4564, allocations: 125.9 kB / 489.5 MB, free: 25.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005374/0.4618, allocations: 2.974 MB / 492.5 MB, free: 23.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.016e-05/0.4618, allocations: 27.3 kB / 492.5 MB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.4619, allocations: 55.25 kB / 492.6 MB, free: 23.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007012/0.4627, allocations: 431.3 kB / 493 MB, free: 23.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005063/0.4677, allocations: 2.161 MB / 495.1 MB, free: 23.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.4795, allocations: 10.76 MB / 0.494 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/0.4833, allocations: 1.234 MB / 0.4952 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006299/0.4839, allocations: 404.5 kB / 0.4956 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003653/0.4876, allocations: 3.01 MB / 0.4986 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.4876, allocations: 42.95 kB / 0.4986 GB, free: 13.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.455e-06/0.4877, allocations: 0 / 0.4986 GB, free: 13.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01165/0.4993, allocations: 3.798 MB / 0.5023 GB, free: 11.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.4994, allocations: 83.45 kB / 0.5024 GB, free: 11.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.5011, allocations: 1.216 MB / 0.5036 GB, free: 11.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.5011, allocations: 32.61 kB / 0.5036 GB, free: 10.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005551/0.5017, allocations: 0.944 MB / 0.5045 GB, free: 10.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.5019, allocations: 215.8 kB / 0.5047 GB, free: 10.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004737/0.5024, allocations: 311 kB / 0.505 GB, free: 9.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.607e-05/0.5024, allocations: 307 kB / 0.5053 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005672/0.503, allocations: 405.4 kB / 0.5057 GB, free: 9.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009141/0.5039, allocations: 1.248 MB / 0.5069 GB, free: 8.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.5056, allocations: 1.8 MB / 0.5087 GB, free: 6.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/0.5056, allocations: 12.69 kB / 0.5087 GB, free: 6.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002541/0.5081, allocations: 1.708 MB / 0.5104 GB, free: 5.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.5082, allocations: 16.44 kB / 0.5104 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/0.5082, allocations: 30.16 kB / 0.5104 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001902/0.5084, allocations: 94.41 kB / 0.5105 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009368/0.5093, allocations: 354 kB / 0.5108 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.5105, allocations: 1.868 MB / 0.5127 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008367/0.5114, allocations: 73.8 kB / 0.5127 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.729e-05/0.5115, allocations: 88.53 kB / 0.5128 GB, free: 3.891 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (190): * Single equations (assignments): 189 * Array equations: 0 * 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.0009556/0.5124, allocations: 0.6386 MB / 0.5135 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.5126, allocations: 117.5 kB / 0.5136 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.5137, allocations: 0.715 MB / 0.5143 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.5137, allocations: 10.89 kB / 0.5143 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.5137, allocations: 0 / 0.5143 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.5137, allocations: 3.984 kB / 0.5143 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/0.5166, allocations: 2.239 MB / 0.5165 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.5166, allocations: 4 kB / 0.5165 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.5169, allocations: 100.3 kB / 0.5166 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001494/0.5171, allocations: 64.81 kB / 0.5166 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.5171, allocations: 15.94 kB / 0.5166 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.5188, allocations: 1.942 MB / 0.5185 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.718e-05/0.5189, allocations: 7.938 kB / 0.5185 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.5203, allocations: 1.099 MB / 0.5196 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.5206, allocations: 227.6 kB / 0.5198 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.5208, allocations: 12 kB / 0.5198 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/0.5211, allocations: 23.98 kB / 0.5199 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.5212, allocations: 51.89 kB / 0.5199 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.5212, allocations: 20 kB / 0.5199 GB, free: 13.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000931/0.5222, allocations: 0.7758 MB / 0.5207 GB, free: 12.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5222, allocations: 0 / 0.5207 GB, free: 12.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001666/0.5239, allocations: 300 kB / 0.521 GB, free: 12.17 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00183/0.5257, allocations: 1.682 MB / 0.5226 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001931/0.5276, allocations: 1.191 MB / 0.5238 GB, free: 9.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5277, allocations: 4.062 kB / 0.5238 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007047/0.5284, allocations: 402.2 kB / 0.5242 GB, free: 8.809 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.5295, allocations: 190 kB / 0.5244 GB, free: 8.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/0.5466, allocations: 12.77 MB / 0.5368 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/0.548, allocations: 1.459 MB / 0.5382 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001187/0.5492, allocations: 409.7 kB / 0.5386 GB, free: 8.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006508/0.5499, allocations: 0.5813 MB / 0.5392 GB, free: 8.148 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5499, allocations: 4 kB / 0.5392 GB, free: 8.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06124/0.6111, allocations: 22.63 MB / 0.5613 GB, free: 1.57 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.6114, allocations: 224.7 kB / 0.5615 GB, free: 1.309 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/3.062, allocations: 0 / 0.5615 GB, free: 1.309 MB / 430.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches