Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_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.001352/0.001352, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001431/0.001431, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.443/1.443, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2817/0.2817, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3892, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.0102/0.3994, allocations: 8.653 MB / 0.5269 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007386/0.4068, allocations: 3.448 MB / 0.5303 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.4081, allocations: 49.97 kB / 0.5303 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002651/0.4108, allocations: 1.375 MB / 0.5316 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.4131, allocations: 0.9294 MB / 0.5326 GB, free: 9.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.4142, allocations: 0.5127 MB / 0.5331 GB, free: 8.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002002/0.4162, allocations: 1.686 MB / 0.5347 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.418, allocations: 1.67 MB / 0.5363 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009615/0.419, allocations: 0.6681 MB / 0.537 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.4202, allocations: 0.8875 MB / 0.5378 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002344/0.4205, allocations: 137.8 kB / 0.538 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.4216, allocations: 0.5918 MB / 0.5386 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007506/0.4224, allocations: 0.7233 MB / 0.5393 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009332/0.4233, allocations: 0.8354 MB / 0.5401 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002954/0.4263, allocations: 2.508 MB / 0.5425 GB, free: 3.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4263, allocations: 1.125 kB / 0.5425 GB, free: 3.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.4263, allocations: 0 / 0.5425 GB, free: 3.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.159e-05/0.4263, allocations: 3.938 kB / 0.5425 GB, free: 3.133 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.003827/0.4302, allocations: 2.069 MB / 0.5446 GB, free: 1.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.4302, allocations: 12.03 kB / 0.5446 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003202/0.4306, allocations: 245.5 kB / 0.5448 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.4318, allocations: 283.5 kB / 0.5451 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/0.4342, allocations: 1.395 MB / 0.5464 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-05/0.4343, allocations: 98.39 kB / 0.5465 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/0.4345, allocations: 127.9 kB / 0.5466 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005757/0.4403, allocations: 2.984 MB / 0.5496 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.734e-05/0.4404, allocations: 11.88 kB / 0.5496 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.4405, allocations: 59.97 kB / 0.5496 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006619/0.4412, allocations: 430 kB / 0.55 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004723/0.4459, allocations: 2.171 MB / 0.5522 GB, free: 9.188 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0135/0.4594, allocations: 10.69 MB / 0.5626 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003911/0.4634, allocations: 1.242 MB / 0.5638 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/0.464, allocations: 411.2 kB / 0.5642 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004033/0.4681, allocations: 2.998 MB / 0.5671 GB, free: 9.301 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.4681, allocations: 42.94 kB / 0.5672 GB, free: 9.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=51): time 2.224e-06/0.4681, allocations: 4 kB / 0.5672 GB, free: 9.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01188/0.48, allocations: 3.778 MB / 0.5709 GB, free: 5.359 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/0.4801, allocations: 89.61 kB / 0.571 GB, free: 5.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.4817, allocations: 1.198 MB / 0.5721 GB, free: 4.039 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.4818, allocations: 37.7 kB / 0.5722 GB, free: 3.996 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007435/0.4825, allocations: 0.9702 MB / 0.5731 GB, free: 3.016 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.4827, allocations: 234.1 kB / 0.5733 GB, free: 2.785 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004133/0.4831, allocations: 311.4 kB / 0.5736 GB, free: 2.473 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4833, allocations: 301.1 kB / 0.5739 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007352/0.484, allocations: 407.7 kB / 0.5743 GB, free: 1.777 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.4856, allocations: 1.242 MB / 0.5755 GB, free: 124 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002658/0.4883, allocations: 1.799 MB / 0.5773 GB, free: 13.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.59e-05/0.4883, allocations: 8 kB / 0.5773 GB, free: 13.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002916/0.4913, allocations: 1.712 MB / 0.579 GB, free: 12.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.4913, allocations: 18.81 kB / 0.579 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.966e-05/0.4914, allocations: 32 kB / 0.579 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/0.4916, allocations: 88.81 kB / 0.5791 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.4927, allocations: 355.3 kB / 0.5794 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.4947, allocations: 1.869 MB / 0.5812 GB, free: 9.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.4957, allocations: 71.98 kB / 0.5813 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.4958, allocations: 84 kB / 0.5814 GB, free: 9.531 MB / 446.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.001132/0.4969, allocations: 0.6458 MB / 0.582 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.4971, allocations: 127.2 kB / 0.5822 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.4984, allocations: 0.7029 MB / 0.5828 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.4984, allocations: 8 kB / 0.5828 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4985, allocations: 4 kB / 0.5828 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.4985, allocations: 3.984 kB / 0.5829 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003629/0.5021, allocations: 2.224 MB / 0.585 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.5021, allocations: 4 kB / 0.585 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003801/0.5025, allocations: 103.8 kB / 0.5851 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002028/0.5027, allocations: 60.83 kB / 0.5852 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.5028, allocations: 15.94 kB / 0.5852 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.5049, allocations: 1.948 MB / 0.5871 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.5049, allocations: 11.88 kB / 0.5871 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.5066, allocations: 1.109 MB / 0.5882 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003584/0.507, allocations: 184.3 kB / 0.5884 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.5071, allocations: 16 kB / 0.5884 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.5075, allocations: 27.97 kB / 0.5884 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.5076, allocations: 51.89 kB / 0.5885 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.5077, allocations: 20 kB / 0.5885 GB, free: 1.926 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001149/0.5088, allocations: 0.7638 MB / 0.5892 GB, free: 1.156 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5088, allocations: 0 / 0.5892 GB, free: 1.156 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001426/0.5103, allocations: 296 kB / 0.5895 GB, free: 0.8672 MB / 446.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.002154/0.5124, allocations: 1.686 MB / 0.5912 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001928/0.5144, allocations: 1.097 MB / 0.5922 GB, free: 13.99 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5144, allocations: 0 / 0.5922 GB, free: 13.99 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005922/0.515, allocations: 412 kB / 0.5926 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009967/0.516, allocations: 184.5 kB / 0.5928 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/0.5336, allocations: 11.5 MB / 0.604 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/0.5351, allocations: 1.447 MB / 0.6054 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001009/0.5361, allocations: 413.7 kB / 0.6058 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00073/0.5368, allocations: 0.5813 MB / 0.6064 GB, free: 14.37 MB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5369, allocations: 0 / 0.6064 GB, free: 14.37 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05994/0.5968, allocations: 23.09 MB / 0.6289 GB, free: 7.508 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.43, allocations: 7.875 kB / 0.6289 GB, free: 7.5 MB / 494.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches