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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 114.6 kB / 17.13 MB, free: 5.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002511/0.002511, allocations: 212.3 kB / 20.09 MB, free: 2.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 207.6 MB / 230.5 MB, free: 4.027 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3667/0.3667, allocations: 44.23 MB / 326.6 MB, free: 6.824 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 67.91 kB / 462.2 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3131, allocations: 61.01 MB / 0.511 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.007859/0.321, allocations: 8.733 MB / 0.5195 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006246/0.3272, allocations: 3.472 MB / 0.5229 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.3289, allocations: 55.75 kB / 0.5229 GB, free: 2.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002259/0.3312, allocations: 1.382 MB / 0.5243 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00222/0.3334, allocations: 0.9534 MB / 0.5252 GB, free: 320 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.3345, allocations: 0.5303 MB / 0.5257 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002675/0.3372, allocations: 1.691 MB / 0.5274 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.339, allocations: 1.4 MB / 0.5287 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.3401, allocations: 0.6932 MB / 0.5294 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.3414, allocations: 0.9464 MB / 0.5303 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.3417, allocations: 136 kB / 0.5305 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.3429, allocations: 0.6241 MB / 0.5311 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008084/0.3437, allocations: 0.7519 MB / 0.5318 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009643/0.3447, allocations: 0.8431 MB / 0.5326 GB, free: 8.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003391/0.3481, allocations: 2.521 MB / 0.5351 GB, free: 6.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3481, allocations: 0 / 0.5351 GB, free: 6.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3481, allocations: 0 / 0.5351 GB, free: 6.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.008e-05/0.3481, allocations: 4 kB / 0.5351 GB, free: 6.109 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.004006/0.3521, allocations: 2.069 MB / 0.5371 GB, free: 3.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.3522, allocations: 15.89 kB / 0.5371 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003244/0.3525, allocations: 245.5 kB / 0.5374 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.3538, allocations: 291.5 kB / 0.5377 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/0.357, allocations: 1.544 MB / 0.5392 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.3571, allocations: 98.39 kB / 0.5393 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002408/0.3573, allocations: 123.9 kB / 0.5394 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006364/0.3637, allocations: 2.992 MB / 0.5423 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.072e-05/0.3637, allocations: 7.938 kB / 0.5423 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.3639, allocations: 55.97 kB / 0.5424 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007646/0.3646, allocations: 434 kB / 0.5428 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005091/0.3697, allocations: 2.167 MB / 0.5449 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01467/0.3844, allocations: 10.72 MB / 0.5554 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00426/0.3887, allocations: 1.191 MB / 0.5565 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006407/0.3893, allocations: 379.1 kB / 0.5569 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004326/0.3936, allocations: 2.997 MB / 0.5598 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.3937, allocations: 42.94 kB / 0.5599 GB, free: 11.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=51): time 2.104e-06/0.3937, allocations: 0 / 0.5599 GB, free: 11.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01312/0.4068, allocations: 3.825 MB / 0.5636 GB, free: 7.953 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.4069, allocations: 85.67 kB / 0.5637 GB, free: 7.848 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.4087, allocations: 1.215 MB / 0.5649 GB, free: 6.621 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.682e-05/0.4087, allocations: 33.7 kB / 0.5649 GB, free: 6.582 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008219/0.4095, allocations: 0.9819 MB / 0.5659 GB, free: 5.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.4097, allocations: 222.2 kB / 0.5661 GB, free: 5.371 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004251/0.4102, allocations: 319.3 kB / 0.5664 GB, free: 5.051 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4103, allocations: 301.1 kB / 0.5667 GB, free: 4.754 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006919/0.411, allocations: 411.7 kB / 0.567 GB, free: 4.352 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.4125, allocations: 1.242 MB / 0.5683 GB, free: 2.699 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/0.4148, allocations: 1.795 MB / 0.57 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/0.4149, allocations: 8 kB / 0.57 GB, free: 496 kB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003083/0.4179, allocations: 1.715 MB / 0.5717 GB, free: 14.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.418, allocations: 20 kB / 0.5717 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-05/0.418, allocations: 28 kB / 0.5717 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002378/0.4183, allocations: 80.83 kB / 0.5718 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.4194, allocations: 359.3 kB / 0.5722 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.4213, allocations: 1.881 MB / 0.574 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009896/0.4223, allocations: 68.03 kB / 0.5741 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.4224, allocations: 88 kB / 0.5741 GB, free: 12.1 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.0009969/0.4234, allocations: 0.6439 MB / 0.5748 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.4236, allocations: 119.2 kB / 0.5749 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.425, allocations: 0.7107 MB / 0.5756 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.425, allocations: 8 kB / 0.5756 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.425, allocations: 0 / 0.5756 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.425, allocations: 3.984 kB / 0.5756 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003906/0.4289, allocations: 2.232 MB / 0.5778 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.4289, allocations: 4 kB / 0.5778 GB, free: 8.254 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/0.4293, allocations: 95.83 kB / 0.5779 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002068/0.4295, allocations: 72.73 kB / 0.5779 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.4296, allocations: 16.5 kB / 0.578 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.4315, allocations: 1.944 MB / 0.5799 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.4315, allocations: 7.938 kB / 0.5799 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.4333, allocations: 1.105 MB / 0.5809 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004106/0.4337, allocations: 220.3 kB / 0.5811 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.4338, allocations: 19.98 kB / 0.5812 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.4342, allocations: 19.98 kB / 0.5812 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/0.4342, allocations: 51.89 kB / 0.5812 GB, free: 4.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.4343, allocations: 20 kB / 0.5813 GB, free: 4.469 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001188/0.4355, allocations: 0.7719 MB / 0.582 GB, free: 3.691 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4355, allocations: 3.938 kB / 0.582 GB, free: 3.688 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001638/0.4371, allocations: 304 kB / 0.5823 GB, free: 3.391 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.002193/0.4393, allocations: 1.678 MB / 0.5839 GB, free: 1.633 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002156/0.4415, allocations: 1.054 MB / 0.585 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.4415, allocations: 4 kB / 0.585 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006618/0.4421, allocations: 391.5 kB / 0.5853 GB, free: 180 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.4434, allocations: 185.6 kB / 0.5855 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01824/0.4616, allocations: 11.57 MB / 0.5968 GB, free: 3.352 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/0.4631, allocations: 1.455 MB / 0.5982 GB, free: 1.867 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001039/0.4641, allocations: 417.7 kB / 0.5986 GB, free: 1.457 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007593/0.4649, allocations: 0.5774 MB / 0.5992 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4649, allocations: 0 / 0.5992 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06865/0.5335, allocations: 23.41 MB / 0.6221 GB, free: 9.438 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.83, allocations: 8 kB / 0.6221 GB, free: 9.43 MB / 494.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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.0009996 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.990991781000048]