Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001813/0.001813, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002282/0.002282, allocations: 203.7 kB / 23.73 MB, free: 4.379 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.546/1.546, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2362/0.2362, allocations: 46.95 MB / 360.9 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 63.91 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3788, allocations: 66.03 MB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01021/0.389, allocations: 7.652 MB / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007376/0.3964, allocations: 3.283 MB / 0.5713 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.3978, allocations: 51.75 kB / 0.5713 GB, free: 9.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002888/0.4007, allocations: 1.324 MB / 0.5726 GB, free: 7.879 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.4034, allocations: 0.9379 MB / 0.5735 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.4046, allocations: 0.5186 MB / 0.574 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002385/0.407, allocations: 1.73 MB / 0.5757 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.4087, allocations: 1.26 MB / 0.577 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.4099, allocations: 0.6737 MB / 0.5776 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.4113, allocations: 0.9424 MB / 0.5785 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002623/0.4116, allocations: 140 kB / 0.5787 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.4127, allocations: 0.5656 MB / 0.5792 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007244/0.4134, allocations: 0.748 MB / 0.5799 GB, free: 312 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007597/0.4142, allocations: 0.6528 MB / 0.5806 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00349/0.4177, allocations: 2.498 MB / 0.583 GB, free: 13.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4177, allocations: 0 / 0.583 GB, free: 13.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4177, allocations: 0 / 0.583 GB, free: 13.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.535e-05/0.4177, allocations: 0 / 0.583 GB, free: 13.14 MB / 430.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.004151/0.4219, allocations: 1.986 MB / 0.585 GB, free: 11.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4219, allocations: 12.03 kB / 0.585 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002973/0.4222, allocations: 245.5 kB / 0.5852 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.4234, allocations: 283.5 kB / 0.5855 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002749/0.4261, allocations: 1.226 MB / 0.5867 GB, free: 9.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.142e-05/0.4262, allocations: 94.41 kB / 0.5868 GB, free: 9.227 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.4264, allocations: 132 kB / 0.5869 GB, free: 9.098 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005587/0.432, allocations: 3.046 MB / 0.5899 GB, free: 5.848 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.402e-05/0.4321, allocations: 19.83 kB / 0.5899 GB, free: 5.828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.4322, allocations: 51.97 kB / 0.5899 GB, free: 5.777 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006299/0.4328, allocations: 438 kB / 0.5904 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005037/0.4379, allocations: 2.167 MB / 0.5925 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/0.4519, allocations: 10.24 MB / 0.6025 GB, free: 8.648 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003917/0.4558, allocations: 1.194 MB / 0.6036 GB, free: 7.441 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005906/0.4564, allocations: 379 kB / 0.604 GB, free: 7.062 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003955/0.4604, allocations: 2.019 MB / 0.606 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.4604, allocations: 38.98 kB / 0.606 GB, free: 4.969 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.925e-06/0.4604, allocations: 4 kB / 0.606 GB, free: 4.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01152/0.472, allocations: 3.578 MB / 0.6095 GB, free: 1.336 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.472, allocations: 89.55 kB / 0.6096 GB, free: 1.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.4737, allocations: 1.24 MB / 0.6108 GB, free: 15.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.4737, allocations: 37.7 kB / 0.6108 GB, free: 15.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00079/0.4745, allocations: 0.9624 MB / 0.6118 GB, free: 14.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.4747, allocations: 234.2 kB / 0.612 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004062/0.4751, allocations: 315.3 kB / 0.6123 GB, free: 14.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4753, allocations: 301.1 kB / 0.6126 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006588/0.4759, allocations: 411.7 kB / 0.613 GB, free: 13.71 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.4773, allocations: 1.268 MB / 0.6142 GB, free: 12.03 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002266/0.4795, allocations: 1.814 MB / 0.616 GB, free: 9.801 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.4796, allocations: 8 kB / 0.616 GB, free: 9.793 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002877/0.4824, allocations: 1.719 MB / 0.6177 GB, free: 8.062 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.4825, allocations: 16 kB / 0.6177 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.215e-05/0.4825, allocations: 31.94 kB / 0.6177 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.4828, allocations: 93.53 kB / 0.6178 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.4838, allocations: 355.3 kB / 0.6182 GB, free: 7.574 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.4857, allocations: 1.761 MB / 0.6199 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009667/0.4866, allocations: 68.17 kB / 0.6199 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.4867, allocations: 88 kB / 0.62 GB, free: 5.543 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.001018/0.4878, allocations: 0.648 MB / 0.6207 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.488, allocations: 123.2 kB / 0.6208 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.4882, allocations: 131.6 kB / 0.6209 GB, free: 4.633 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.4882, allocations: 8 kB / 0.6209 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.4882, allocations: 0 / 0.6209 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.4883, allocations: 3.984 kB / 0.6209 GB, free: 4.621 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003957/0.4922, allocations: 2.141 MB / 0.623 GB, free: 2.383 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.4922, allocations: 4.5 kB / 0.623 GB, free: 2.379 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.4926, allocations: 99.83 kB / 0.6231 GB, free: 2.281 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.4928, allocations: 60.81 kB / 0.6232 GB, free: 2.219 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/0.4929, allocations: 16 kB / 0.6232 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/0.4947, allocations: 1.825 MB / 0.625 GB, free: 272 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/0.4948, allocations: 7.938 kB / 0.625 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.4965, allocations: 1.115 MB / 0.6261 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.4969, allocations: 111.2 kB / 0.6262 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.497, allocations: 16 kB / 0.6262 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.4974, allocations: 27.91 kB / 0.6262 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.423e-05/0.4975, allocations: 55.92 kB / 0.6263 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.4975, allocations: 20 kB / 0.6263 GB, free: 14.85 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001351/0.4988, allocations: 0.7635 MB / 0.627 GB, free: 14.08 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4988, allocations: 0 / 0.627 GB, free: 14.08 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001686/0.5005, allocations: 292 kB / 0.6273 GB, free: 13.8 MB / 478.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.002408/0.5029, allocations: 1.684 MB / 0.6289 GB, free: 12.03 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002165/0.5051, allocations: 1.077 MB / 0.63 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.5051, allocations: 0 / 0.63 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006233/0.5057, allocations: 394.2 kB / 0.6304 GB, free: 10.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.507, allocations: 188.3 kB / 0.6305 GB, free: 10.37 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/0.5241, allocations: 11.51 MB / 0.6418 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.5252, allocations: 0.8513 MB / 0.6426 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001/0.5262, allocations: 409.6 kB / 0.643 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007172/0.5269, allocations: 0.5774 MB / 0.6436 GB, free: 11.93 MB / 494.1 MB Notification: Performance of SimCode: time 1.443e-06/0.5269, allocations: 0 / 0.6436 GB, free: 11.93 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06396/0.5909, allocations: 24.57 MB / 0.6676 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.68, allocations: 11.19 kB / 0.6676 GB, free: 3.715 MB / 0.4981 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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.0009996 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 15.900363623019075]