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.001107/0.001107, allocations: 110.4 kB / 17.78 MB, free: 5.285 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.001247/0.001247, allocations: 183.9 kB / 18.7 MB, free: 4.367 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.409/1.409, 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.2524/0.2524, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 67.89 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3903, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01025/0.4006, allocations: 8.668 MB / 0.5269 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007637/0.4083, allocations: 3.445 MB / 0.5302 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.4098, allocations: 50.09 kB / 0.5303 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002665/0.4125, allocations: 1.371 MB / 0.5316 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.4152, allocations: 0.9292 MB / 0.5325 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.4165, allocations: 0.5249 MB / 0.5331 GB, free: 8.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002472/0.419, allocations: 1.674 MB / 0.5347 GB, free: 8.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.4211, allocations: 1.668 MB / 0.5363 GB, free: 7.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.4223, allocations: 0.6711 MB / 0.537 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.4236, allocations: 0.8881 MB / 0.5378 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000282/0.4239, allocations: 137.7 kB / 0.538 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.4251, allocations: 0.5984 MB / 0.5386 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007544/0.4259, allocations: 0.737 MB / 0.5393 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009145/0.4268, allocations: 0.835 MB / 0.5401 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003562/0.4304, allocations: 2.494 MB / 0.5425 GB, free: 3.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.4304, allocations: 0 / 0.5425 GB, free: 3.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.4304, allocations: 7.938 kB / 0.5425 GB, free: 3.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.029e-05/0.4305, allocations: 5.156 kB / 0.5425 GB, free: 3.117 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.004902/0.4354, allocations: 2.018 MB / 0.5445 GB, free: 1.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.4355, allocations: 8.031 kB / 0.5445 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000372/0.4359, allocations: 249.5 kB / 0.5448 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.4371, allocations: 274.4 kB / 0.545 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002885/0.44, allocations: 1.391 MB / 0.5464 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.349e-05/0.4401, allocations: 94.39 kB / 0.5465 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/0.4404, allocations: 128 kB / 0.5466 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005602/0.446, allocations: 2.98 MB / 0.5495 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.717e-05/0.4461, allocations: 15.78 kB / 0.5495 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.4462, allocations: 63.91 kB / 0.5496 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006065/0.4468, allocations: 434 kB / 0.55 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004859/0.4517, allocations: 2.163 MB / 0.5521 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.014/0.4657, allocations: 10.68 MB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004034/0.4698, allocations: 1.234 MB / 0.5637 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006349/0.4705, allocations: 407.2 kB / 0.5641 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0045/0.475, allocations: 2.989 MB / 0.567 GB, free: 9.344 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.475, allocations: 39 kB / 0.5671 GB, free: 9.297 MB / 430.1 MB Notification: Performance of pre-optimization done (n=51): time 2.665e-06/0.4751, allocations: 0 / 0.5671 GB, free: 9.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01195/0.487, allocations: 3.756 MB / 0.5708 GB, free: 5.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/0.4871, allocations: 89.67 kB / 0.5708 GB, free: 5.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.4891, allocations: 1.198 MB / 0.572 GB, free: 4.109 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.4892, allocations: 33.7 kB / 0.572 GB, free: 4.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006911/0.4899, allocations: 0.9433 MB / 0.573 GB, free: 3.113 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.4901, allocations: 217.1 kB / 0.5732 GB, free: 2.898 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004791/0.4906, allocations: 315.1 kB / 0.5735 GB, free: 2.582 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4907, allocations: 301.1 kB / 0.5738 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006715/0.4914, allocations: 407.7 kB / 0.5741 GB, free: 1.887 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.4926, allocations: 1.25 MB / 0.5754 GB, free: 228 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.4947, allocations: 1.795 MB / 0.5771 GB, free: 14.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.099e-05/0.4948, allocations: 8 kB / 0.5771 GB, free: 14 MB / 446.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002817/0.4976, allocations: 1.699 MB / 0.5788 GB, free: 12.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.4976, allocations: 20 kB / 0.5788 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.212e-05/0.4977, allocations: 28 kB / 0.5788 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.4979, allocations: 93.47 kB / 0.5789 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.499, allocations: 355.4 kB / 0.5793 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.5007, allocations: 1.877 MB / 0.5811 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.5018, allocations: 67.98 kB / 0.5812 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.502, allocations: 84 kB / 0.5812 GB, free: 9.637 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.001099/0.5031, allocations: 0.6383 MB / 0.5819 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.5033, allocations: 118.6 kB / 0.582 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.5046, allocations: 0.7068 MB / 0.5827 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.5046, allocations: 8 kB / 0.5827 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5047, allocations: 3.938 kB / 0.5827 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.5047, allocations: 3.984 kB / 0.5827 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/0.5088, allocations: 2.227 MB / 0.5849 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.5089, allocations: 8.438 kB / 0.5849 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.5092, allocations: 99.88 kB / 0.585 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002038/0.5095, allocations: 68.75 kB / 0.585 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.193e-05/0.5095, allocations: 19.94 kB / 0.585 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.5112, allocations: 1.943 MB / 0.5869 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.5112, allocations: 8 kB / 0.5869 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.5127, allocations: 1.1 MB / 0.588 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/0.5131, allocations: 175.8 kB / 0.5882 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.5133, allocations: 16 kB / 0.5882 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004353/0.5137, allocations: 23.98 kB / 0.5882 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.5138, allocations: 51.88 kB / 0.5883 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.5139, allocations: 24 kB / 0.5883 GB, free: 2.055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001138/0.515, allocations: 0.7677 MB / 0.5891 GB, free: 1.281 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.515, allocations: 0 / 0.5891 GB, free: 1.281 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001493/0.5165, allocations: 296 kB / 0.5893 GB, free: 0.9922 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.001878/0.5184, allocations: 1.674 MB / 0.591 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002019/0.5204, allocations: 1.097 MB / 0.592 GB, free: 14.13 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.5205, allocations: 4 kB / 0.592 GB, free: 14.13 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006366/0.5211, allocations: 403.4 kB / 0.5924 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.5225, allocations: 184.6 kB / 0.5926 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/0.5417, allocations: 11.44 MB / 0.6038 GB, free: 1.047 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001886/0.5436, allocations: 1.447 MB / 0.6052 GB, free: 15.56 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001012/0.5447, allocations: 409.7 kB / 0.6056 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007691/0.5454, allocations: 0.5813 MB / 0.6061 GB, free: 14.58 MB / 478.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5455, allocations: 3.938 kB / 0.6061 GB, free: 14.57 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07007/0.6155, allocations: 23.34 MB / 0.6289 GB, free: 7.445 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.03, allocations: 17.42 kB / 0.629 GB, free: 7.438 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