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.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.001645/0.001645, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002037/0.002037, allocations: 212.4 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.564/1.564, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2236/0.2236, allocations: 44.94 MB / 358.8 MB, free: 6.023 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002142/0.002142, allocations: 67.91 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3221, allocations: 65.48 MB / 0.557 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.009968/0.332, allocations: 7.644 MB / 0.5644 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006879/0.3389, allocations: 3.289 MB / 0.5676 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.3401, allocations: 51.75 kB / 0.5677 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002869/0.343, allocations: 1.324 MB / 0.569 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002404/0.3454, allocations: 0.9415 MB / 0.5699 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.3465, allocations: 0.5108 MB / 0.5704 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002355/0.3488, allocations: 1.734 MB / 0.5721 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001704/0.3505, allocations: 1.253 MB / 0.5733 GB, free: 6.648 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.3516, allocations: 0.666 MB / 0.574 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.353, allocations: 0.8721 MB / 0.5748 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003358/0.3534, allocations: 140 kB / 0.575 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.3545, allocations: 0.5617 MB / 0.5755 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008272/0.3553, allocations: 0.7479 MB / 0.5762 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009725/0.3563, allocations: 0.6566 MB / 0.5769 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002942/0.3592, allocations: 2.495 MB / 0.5793 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3593, allocations: 0 / 0.5793 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3593, allocations: 3.938 kB / 0.5793 GB, free: 500 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.443e-05/0.3593, allocations: 4 kB / 0.5793 GB, free: 496 kB / 414.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.003898/0.3632, allocations: 1.979 MB / 0.5813 GB, free: 14.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3633, allocations: 12.03 kB / 0.5813 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003043/0.3636, allocations: 249.5 kB / 0.5815 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.3647, allocations: 283.5 kB / 0.5818 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.3673, allocations: 1.222 MB / 0.583 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.955e-05/0.3674, allocations: 110.4 kB / 0.5831 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.3676, allocations: 116 kB / 0.5832 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005814/0.3734, allocations: 3.05 MB / 0.5862 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.104e-05/0.3734, allocations: 19.88 kB / 0.5862 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.3735, allocations: 59.91 kB / 0.5862 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006504/0.3742, allocations: 438 kB / 0.5867 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004996/0.3792, allocations: 2.163 MB / 0.5888 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01349/0.3927, allocations: 10.26 MB / 0.5988 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004061/0.3967, allocations: 1.19 MB / 0.5999 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006049/0.3973, allocations: 371 kB / 0.6003 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003914/0.4013, allocations: 2.023 MB / 0.6023 GB, free: 8.359 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.4013, allocations: 39 kB / 0.6023 GB, free: 8.309 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.414e-06/0.4013, allocations: 0 / 0.6023 GB, free: 8.309 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01234/0.4136, allocations: 3.586 MB / 0.6058 GB, free: 4.668 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.4137, allocations: 89.59 kB / 0.6059 GB, free: 4.562 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/0.4154, allocations: 1.236 MB / 0.6071 GB, free: 3.312 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/0.4155, allocations: 37.7 kB / 0.6071 GB, free: 3.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007659/0.4162, allocations: 0.9663 MB / 0.6081 GB, free: 2.293 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.4164, allocations: 226.2 kB / 0.6083 GB, free: 2.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004012/0.4168, allocations: 319.3 kB / 0.6086 GB, free: 1.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.417, allocations: 305.1 kB / 0.6089 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006788/0.4177, allocations: 411.7 kB / 0.6093 GB, free: 1.047 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.419, allocations: 1.275 MB / 0.6105 GB, free: 15.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/0.4213, allocations: 1.799 MB / 0.6123 GB, free: 13.14 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/0.4214, allocations: 8 kB / 0.6123 GB, free: 13.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002871/0.4242, allocations: 1.726 MB / 0.614 GB, free: 11.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.4243, allocations: 16 kB / 0.614 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.355e-05/0.4243, allocations: 32.84 kB / 0.614 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000209/0.4245, allocations: 84.81 kB / 0.6141 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.4257, allocations: 363.3 kB / 0.6145 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.4274, allocations: 1.761 MB / 0.6162 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000974/0.4284, allocations: 67.98 kB / 0.6162 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.4285, allocations: 84 kB / 0.6163 GB, free: 8.879 MB / 462.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.0009503/0.4295, allocations: 0.6441 MB / 0.617 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.4297, allocations: 123.2 kB / 0.6171 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.4299, allocations: 135.6 kB / 0.6172 GB, free: 7.969 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.4299, allocations: 8 kB / 0.6172 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4299, allocations: 0 / 0.6172 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.4299, allocations: 4.172 kB / 0.6172 GB, free: 7.957 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/0.4338, allocations: 2.141 MB / 0.6193 GB, free: 5.719 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4338, allocations: 8.062 kB / 0.6193 GB, free: 5.711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/0.4342, allocations: 95.89 kB / 0.6194 GB, free: 5.617 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001988/0.4344, allocations: 64.81 kB / 0.6195 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.4344, allocations: 12 kB / 0.6195 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/0.4363, allocations: 1.828 MB / 0.6213 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.4363, allocations: 8.219 kB / 0.6213 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.438, allocations: 1.11 MB / 0.6224 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.4383, allocations: 111.2 kB / 0.6225 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.4384, allocations: 12 kB / 0.6225 GB, free: 2.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.4387, allocations: 31.98 kB / 0.6225 GB, free: 2.262 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/0.4388, allocations: 51.86 kB / 0.6226 GB, free: 2.211 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.4388, allocations: 20 kB / 0.6226 GB, free: 2.191 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001095/0.4399, allocations: 0.7596 MB / 0.6233 GB, free: 1.426 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4399, allocations: 7.938 kB / 0.6233 GB, free: 1.418 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00138/0.4413, allocations: 296 kB / 0.6236 GB, free: 1.129 MB / 462.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.002171/0.4435, allocations: 1.684 MB / 0.6252 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002002/0.4455, allocations: 1.065 MB / 0.6263 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.4455, allocations: 4 kB / 0.6263 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000612/0.4461, allocations: 395.6 kB / 0.6267 GB, free: 13.89 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009871/0.4471, allocations: 190.8 kB / 0.6268 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/0.4637, allocations: 11.51 MB / 0.6381 GB, free: 1.133 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/0.4649, allocations: 0.8552 MB / 0.6389 GB, free: 248 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001024/0.4659, allocations: 405.6 kB / 0.6393 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000735/0.4667, allocations: 0.5773 MB / 0.6399 GB, free: 15.27 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4667, allocations: 0 / 0.6399 GB, free: 15.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0682/0.5349, allocations: 24.02 MB / 0.6633 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.14, allocations: 4.062 kB / 0.6633 GB, free: 7.609 MB / 0.4981 GB " [Timeout remaining time 647] (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 --stepSize=0.0009996 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.545344471000135]