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.001291/0.001291, allocations: 102.3 kB / 16.4 MB, free: 6.453 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.001224/0.001224, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.426/1.426, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2185/0.2185, 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.001565/0.001565, allocations: 73.47 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1157, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.009209/0.125, allocations: 8.692 MB / 0.4959 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006542/0.1315, allocations: 3.441 MB / 0.4993 GB, free: 84 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.133, allocations: 47.88 kB / 0.4993 GB, free: 36 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.1357, allocations: 1.371 MB / 0.5006 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002592/0.1384, allocations: 0.9339 MB / 0.5016 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.1396, allocations: 0.5225 MB / 0.5021 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002228/0.1419, allocations: 1.698 MB / 0.5037 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001968/0.1438, allocations: 1.674 MB / 0.5054 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.1451, allocations: 0.6737 MB / 0.506 GB, free: 9.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.1465, allocations: 0.8996 MB / 0.5069 GB, free: 8.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004304/0.1469, allocations: 140 kB / 0.507 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.1483, allocations: 0.5929 MB / 0.5076 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.1494, allocations: 0.7442 MB / 0.5083 GB, free: 6.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001713/0.1511, allocations: 0.8353 MB / 0.5091 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003597/0.1547, allocations: 2.519 MB / 0.5116 GB, free: 3.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.1547, allocations: 0 / 0.5116 GB, free: 3.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1547, allocations: 0 / 0.5116 GB, free: 3.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001092/0.1549, allocations: 4 kB / 0.5116 GB, free: 3.355 MB / 398.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.005227/0.1601, allocations: 2.029 MB / 0.5136 GB, free: 1.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.1601, allocations: 15.83 kB / 0.5136 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004886/0.1606, allocations: 249.5 kB / 0.5138 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.1619, allocations: 282.5 kB / 0.5141 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002688/0.1646, allocations: 1.528 MB / 0.5156 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.705e-05/0.1647, allocations: 102.4 kB / 0.5157 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/0.165, allocations: 120 kB / 0.5158 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005143/0.1701, allocations: 2.984 MB / 0.5187 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.144e-05/0.1702, allocations: 15.88 kB / 0.5187 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.1703, allocations: 51.97 kB / 0.5188 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005707/0.1709, allocations: 442 kB / 0.5192 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004384/0.1753, allocations: 2.167 MB / 0.5213 GB, free: 9.078 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2315/0.4068, allocations: 10.7 MB / 0.5318 GB, free: 33.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003985/0.4108, allocations: 1.23 MB / 0.533 GB, free: 33.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005716/0.4114, allocations: 407.2 kB / 0.5334 GB, free: 33.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003726/0.4152, allocations: 2.995 MB / 0.5363 GB, free: 32.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.4152, allocations: 40.88 kB / 0.5363 GB, free: 31.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.985e-06/0.4152, allocations: 1.203 kB / 0.5363 GB, free: 31.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01154/0.4268, allocations: 3.803 MB / 0.5401 GB, free: 31.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.4269, allocations: 84.95 kB / 0.5401 GB, free: 31.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.4285, allocations: 1.214 MB / 0.5413 GB, free: 30.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.4285, allocations: 39.45 kB / 0.5414 GB, free: 30.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00056/0.4291, allocations: 0.9415 MB / 0.5423 GB, free: 30.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.4293, allocations: 219.3 kB / 0.5425 GB, free: 29.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004046/0.4297, allocations: 308.2 kB / 0.5428 GB, free: 29.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.4297, allocations: 305.6 kB / 0.5431 GB, free: 29.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008301/0.4306, allocations: 408.8 kB / 0.5435 GB, free: 29.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.4316, allocations: 1.252 MB / 0.5447 GB, free: 28.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/0.4334, allocations: 1.787 MB / 0.5464 GB, free: 26.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.785e-05/0.4335, allocations: 14.72 kB / 0.5464 GB, free: 26.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.00305/0.4365, allocations: 1.703 MB / 0.5481 GB, free: 25.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/0.4366, allocations: 17.56 kB / 0.5481 GB, free: 25.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-05/0.4366, allocations: 30.47 kB / 0.5482 GB, free: 25.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002707/0.4369, allocations: 90.62 kB / 0.5482 GB, free: 25.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.4381, allocations: 350.4 kB / 0.5486 GB, free: 25.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.4396, allocations: 1.889 MB / 0.5504 GB, free: 24.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.4407, allocations: 66.52 kB / 0.5505 GB, free: 24.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.4408, allocations: 84.28 kB / 0.5506 GB, free: 24.12 MB / 414.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.001083/0.4419, allocations: 0.634 MB / 0.5512 GB, free: 23.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.4421, allocations: 116.6 kB / 0.5513 GB, free: 23.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.4434, allocations: 0.7233 MB / 0.552 GB, free: 23.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.4434, allocations: 6.703 kB / 0.552 GB, free: 23.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4434, allocations: 1.219 kB / 0.552 GB, free: 23.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.4435, allocations: 2.625 kB / 0.552 GB, free: 23.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003592/0.4471, allocations: 2.243 MB / 0.5542 GB, free: 22.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.4471, allocations: 4.266 kB / 0.5542 GB, free: 22.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.4475, allocations: 95.52 kB / 0.5543 GB, free: 22.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002347/0.4477, allocations: 69.84 kB / 0.5544 GB, free: 22.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.4478, allocations: 16.48 kB / 0.5544 GB, free: 22.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.4493, allocations: 1.941 MB / 0.5563 GB, free: 20.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.4494, allocations: 4.125 kB / 0.5563 GB, free: 20.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.4509, allocations: 1.098 MB / 0.5573 GB, free: 19.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/0.4512, allocations: 215.2 kB / 0.5576 GB, free: 19.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.4514, allocations: 23.27 kB / 0.5576 GB, free: 19.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.4517, allocations: 30.09 kB / 0.5576 GB, free: 19.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.4518, allocations: 43.95 kB / 0.5576 GB, free: 19.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.4518, allocations: 24.27 kB / 0.5577 GB, free: 19.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001018/0.4529, allocations: 0.7735 MB / 0.5584 GB, free: 19.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4529, allocations: 4 kB / 0.5584 GB, free: 19.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001855/0.4547, allocations: 302.9 kB / 0.5587 GB, free: 19.4 MB / 414.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.002276/0.457, allocations: 1.673 MB / 0.5604 GB, free: 18.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.4591, allocations: 1.091 MB / 0.5614 GB, free: 17.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.4591, allocations: 5.594 kB / 0.5614 GB, free: 17.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004803/0.4596, allocations: 404.5 kB / 0.5618 GB, free: 17.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.4606, allocations: 186.6 kB / 0.562 GB, free: 17.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.4731, allocations: 11.52 MB / 0.5732 GB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009416/0.4741, allocations: 1.453 MB / 0.5747 GB, free: 6.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009453/0.475, allocations: 416 kB / 0.5751 GB, free: 5.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005358/0.4756, allocations: 0.5774 MB / 0.5756 GB, free: 5.289 MB / 414.1 MB Notification: Performance of SimCode: time 1.734e-06/0.4756, allocations: 4 kB / 0.5756 GB, free: 5.285 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05441/0.53, allocations: 23.5 MB / 0.5986 GB, free: 13.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.23, allocations: 7.438 kB / 0.5986 GB, free: 13.76 MB / 446.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches