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.001361/0.001362, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001607/0.001608, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.433/1.433, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2255/0.2255, allocations: 44.2 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002506/0.002506, allocations: 67.89 kB / 470.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3869, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.009977/0.3969, allocations: 8.664 MB / 0.5269 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008286/0.4052, allocations: 3.45 MB / 0.5303 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.4073, allocations: 45.03 kB / 0.5303 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003172/0.4105, allocations: 1.36 MB / 0.5316 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003011/0.4136, allocations: 0.945 MB / 0.5326 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.4149, allocations: 0.5122 MB / 0.5331 GB, free: 8.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003006/0.4179, allocations: 1.682 MB / 0.5347 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002458/0.4204, allocations: 1.664 MB / 0.5363 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.4219, allocations: 0.6644 MB / 0.537 GB, free: 6.727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.4235, allocations: 0.8866 MB / 0.5378 GB, free: 6.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002899/0.4238, allocations: 138.5 kB / 0.538 GB, free: 6.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.4251, allocations: 0.5958 MB / 0.5386 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008464/0.426, allocations: 0.7186 MB / 0.5393 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.4272, allocations: 0.8484 MB / 0.5401 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003459/0.4307, allocations: 2.494 MB / 0.5425 GB, free: 3.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4307, allocations: 3.984 kB / 0.5425 GB, free: 3.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4307, allocations: 1.438 kB / 0.5425 GB, free: 3.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.235e-05/0.4308, allocations: 0 / 0.5425 GB, free: 3.16 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.004237/0.435, allocations: 2.069 MB / 0.5445 GB, free: 1.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.4351, allocations: 16.02 kB / 0.5446 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003297/0.4354, allocations: 245.5 kB / 0.5448 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.4366, allocations: 287.5 kB / 0.5451 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.4391, allocations: 1.392 MB / 0.5464 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-05/0.4392, allocations: 98.39 kB / 0.5465 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.4394, allocations: 127.9 kB / 0.5466 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005813/0.4453, allocations: 2.988 MB / 0.5496 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.011e-05/0.4453, allocations: 11.88 kB / 0.5496 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.4455, allocations: 55.97 kB / 0.5496 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006797/0.4462, allocations: 434 kB / 0.55 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004992/0.4512, allocations: 2.156 MB / 0.5521 GB, free: 9.227 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01429/0.4655, allocations: 10.71 MB / 0.5626 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004155/0.4697, allocations: 1.242 MB / 0.5638 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000621/0.4704, allocations: 415.1 kB / 0.5642 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004245/0.4746, allocations: 2.998 MB / 0.5671 GB, free: 9.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.4747, allocations: 35 kB / 0.5672 GB, free: 9.277 MB / 430.1 MB Notification: Performance of pre-optimization done (n=51): time 4.088e-06/0.4747, allocations: 8 kB / 0.5672 GB, free: 9.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01225/0.4869, allocations: 3.771 MB / 0.5709 GB, free: 5.391 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/0.487, allocations: 89.61 kB / 0.571 GB, free: 5.281 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.4887, allocations: 1.198 MB / 0.5721 GB, free: 4.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.4888, allocations: 41.69 kB / 0.5722 GB, free: 4.023 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007759/0.4895, allocations: 0.9624 MB / 0.5731 GB, free: 3.051 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.4898, allocations: 234.1 kB / 0.5733 GB, free: 2.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000414/0.4902, allocations: 307.4 kB / 0.5736 GB, free: 2.512 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4903, allocations: 309.1 kB / 0.5739 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/0.491, allocations: 403.7 kB / 0.5743 GB, free: 1.812 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.4924, allocations: 1.25 MB / 0.5755 GB, free: 152 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/0.4946, allocations: 1.795 MB / 0.5773 GB, free: 13.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.4947, allocations: 8 kB / 0.5773 GB, free: 13.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002754/0.4974, allocations: 1.708 MB / 0.5789 GB, free: 12.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.4975, allocations: 20 kB / 0.579 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.48e-05/0.4975, allocations: 32 kB / 0.579 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002216/0.4977, allocations: 84.83 kB / 0.5791 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.4988, allocations: 355.3 kB / 0.5794 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.5007, allocations: 1.877 MB / 0.5812 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008388/0.5015, allocations: 63.98 kB / 0.5813 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.5017, allocations: 88 kB / 0.5814 GB, free: 9.562 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.001035/0.5027, allocations: 0.6478 MB / 0.582 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.5029, allocations: 119.2 kB / 0.5821 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.5042, allocations: 0.7107 MB / 0.5828 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.5042, allocations: 8 kB / 0.5828 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5042, allocations: 4 kB / 0.5828 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5042, allocations: 0 / 0.5828 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003522/0.5077, allocations: 2.232 MB / 0.585 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.5077, allocations: 4 kB / 0.585 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.5081, allocations: 95.83 kB / 0.5851 GB, free: 5.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001863/0.5083, allocations: 64.75 kB / 0.5852 GB, free: 5.547 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.5084, allocations: 16 kB / 0.5852 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/0.5102, allocations: 1.952 MB / 0.5871 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.397e-05/0.5103, allocations: 4 kB / 0.5871 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.5118, allocations: 1.112 MB / 0.5882 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.5121, allocations: 188.3 kB / 0.5884 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.5122, allocations: 16 kB / 0.5884 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003505/0.5126, allocations: 23.98 kB / 0.5884 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.5127, allocations: 47.89 kB / 0.5885 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.5127, allocations: 20 kB / 0.5885 GB, free: 1.957 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001106/0.5138, allocations: 0.7638 MB / 0.5892 GB, free: 1.188 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5138, allocations: 0 / 0.5892 GB, free: 1.188 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001344/0.5152, allocations: 296 kB / 0.5895 GB, free: 0.8984 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.002019/0.5172, allocations: 1.684 MB / 0.5911 GB, free: 15.13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001835/0.519, allocations: 1.109 MB / 0.5922 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5191, allocations: 0 / 0.5922 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006078/0.5197, allocations: 407.9 kB / 0.5926 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.5207, allocations: 192 kB / 0.5928 GB, free: 13.42 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01583/0.5365, allocations: 11.48 MB / 0.604 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.5379, allocations: 1.451 MB / 0.6054 GB, free: 15.39 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009318/0.5388, allocations: 409.7 kB / 0.6058 GB, free: 14.99 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007234/0.5396, allocations: 0.5774 MB / 0.6064 GB, free: 14.41 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5396, allocations: 0 / 0.6064 GB, free: 14.41 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06097/0.6006, allocations: 23.1 MB / 0.6289 GB, free: 7.535 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.72, allocations: 6.906 kB / 0.6289 GB, free: 7.531 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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