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.001924/0.001924, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002108/0.002108, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2188/0.2188, allocations: 44.91 MB / 358.8 MB, free: 6.266 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.00209/0.00209, allocations: 67.91 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3614, allocations: 65.48 MB / 0.557 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01108/0.3725, allocations: 8.715 MB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007413/0.3799, allocations: 3.512 MB / 0.569 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.3812, allocations: 59.75 kB / 0.569 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002841/0.384, allocations: 1.386 MB / 0.5704 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.3864, allocations: 0.93 MB / 0.5713 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.3874, allocations: 0.5186 MB / 0.5718 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002234/0.3897, allocations: 1.722 MB / 0.5735 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.3912, allocations: 1.257 MB / 0.5747 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008972/0.3921, allocations: 0.6814 MB / 0.5754 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.3933, allocations: 0.9346 MB / 0.5763 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.3935, allocations: 144 kB / 0.5764 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009911/0.3945, allocations: 0.5812 MB / 0.577 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007059/0.3952, allocations: 0.7518 MB / 0.5777 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008087/0.396, allocations: 0.8354 MB / 0.5785 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002707/0.3987, allocations: 2.479 MB / 0.581 GB, free: 15.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3987, allocations: 4 kB / 0.581 GB, free: 15.1 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3987, allocations: 3.938 kB / 0.581 GB, free: 15.1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.727e-05/0.3988, allocations: 0 / 0.581 GB, free: 15.1 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.003556/0.4023, allocations: 1.975 MB / 0.5829 GB, free: 13.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.4024, allocations: 12.03 kB / 0.5829 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002993/0.4027, allocations: 249.5 kB / 0.5831 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.4038, allocations: 283.5 kB / 0.5834 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002599/0.4064, allocations: 1.222 MB / 0.5846 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-05/0.4065, allocations: 110.3 kB / 0.5847 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002058/0.4067, allocations: 120 kB / 0.5848 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005528/0.4122, allocations: 2.999 MB / 0.5878 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.161e-05/0.4123, allocations: 19.88 kB / 0.5878 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.4124, allocations: 55.97 kB / 0.5878 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006449/0.4131, allocations: 434 kB / 0.5882 GB, free: 7.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004775/0.4178, allocations: 2.175 MB / 0.5904 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/0.4321, allocations: 10.65 MB / 0.6008 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004001/0.4361, allocations: 1.196 MB / 0.6019 GB, free: 9.047 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006201/0.4367, allocations: 379 kB / 0.6023 GB, free: 8.668 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003951/0.4406, allocations: 2.097 MB / 0.6043 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.4407, allocations: 39 kB / 0.6044 GB, free: 6.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.335e-06/0.4407, allocations: 0 / 0.6044 GB, free: 6.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01181/0.4525, allocations: 3.59 MB / 0.6079 GB, free: 2.852 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.4526, allocations: 85.61 kB / 0.608 GB, free: 2.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/0.4541, allocations: 1.19 MB / 0.6091 GB, free: 1.547 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.4542, allocations: 37.7 kB / 0.6092 GB, free: 1.504 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007172/0.4549, allocations: 0.9663 MB / 0.6101 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.4551, allocations: 234.1 kB / 0.6103 GB, free: 304 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004162/0.4555, allocations: 311.4 kB / 0.6106 GB, free: 15.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.4556, allocations: 301.1 kB / 0.6109 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006704/0.4563, allocations: 415.7 kB / 0.6113 GB, free: 15.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.4577, allocations: 1.25 MB / 0.6125 GB, free: 13.62 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/0.46, allocations: 1.803 MB / 0.6143 GB, free: 11.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.787e-05/0.46, allocations: 8 kB / 0.6143 GB, free: 11.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002799/0.4628, allocations: 1.719 MB / 0.616 GB, free: 9.664 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.4628, allocations: 20 kB / 0.616 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/0.4629, allocations: 32.12 kB / 0.616 GB, free: 9.613 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002201/0.4631, allocations: 88.83 kB / 0.6161 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.4642, allocations: 351.3 kB / 0.6165 GB, free: 9.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.466, allocations: 1.765 MB / 0.6182 GB, free: 7.297 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000869/0.4669, allocations: 72.17 kB / 0.6182 GB, free: 7.227 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.467, allocations: 88 kB / 0.6183 GB, free: 7.141 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.0009404/0.4679, allocations: 0.6484 MB / 0.619 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.4681, allocations: 123.2 kB / 0.6191 GB, free: 6.363 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.4683, allocations: 135.6 kB / 0.6192 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.4683, allocations: 8 kB / 0.6192 GB, free: 6.219 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4683, allocations: 0 / 0.6192 GB, free: 6.219 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.4683, allocations: 7.922 kB / 0.6192 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/0.4721, allocations: 2.207 MB / 0.6214 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.4721, allocations: 4.031 kB / 0.6214 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.4725, allocations: 103.9 kB / 0.6215 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000191/0.4727, allocations: 64.75 kB / 0.6215 GB, free: 3.734 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.4728, allocations: 19.98 kB / 0.6216 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.4745, allocations: 1.824 MB / 0.6233 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4745, allocations: 4 kB / 0.6233 GB, free: 1.773 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.4762, allocations: 1.118 MB / 0.6244 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.4764, allocations: 107.2 kB / 0.6245 GB, free: 496 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.4765, allocations: 19.98 kB / 0.6246 GB, free: 476 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.4769, allocations: 27.92 kB / 0.6246 GB, free: 448 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.477, allocations: 51.92 kB / 0.6246 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.477, allocations: 20 kB / 0.6247 GB, free: 376 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001054/0.4781, allocations: 0.7596 MB / 0.6254 GB, free: 15.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4781, allocations: 0 / 0.6254 GB, free: 15.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001316/0.4794, allocations: 292 kB / 0.6257 GB, free: 15.32 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.002171/0.4816, allocations: 1.688 MB / 0.6273 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.4835, allocations: 1.066 MB / 0.6284 GB, free: 12.47 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4835, allocations: 0 / 0.6284 GB, free: 12.47 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000606/0.4841, allocations: 394.2 kB / 0.6287 GB, free: 12.07 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009579/0.485, allocations: 185.9 kB / 0.6289 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/0.5018, allocations: 11.52 MB / 0.6402 GB, free: 15.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/0.5031, allocations: 1.443 MB / 0.6416 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001029/0.5041, allocations: 417.5 kB / 0.642 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007412/0.5049, allocations: 0.5774 MB / 0.6425 GB, free: 12.85 MB / 494.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5049, allocations: 0 / 0.6425 GB, free: 12.85 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08574/0.5906, allocations: 24.33 MB / 0.6663 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.53, allocations: 8.047 kB / 0.6663 GB, free: 4.75 MB / 0.4981 GB " [Timeout remaining time 645] (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.0009996 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.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.632879790995503]