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.0009677/0.0009677, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001564/0.001564, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9177/0.9177, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2595/0.2595, allocations: 32.79 MB / 293.5 MB, free: 1.223 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.816e-05, allocations: 8.328 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.2004/0.2004, allocations: 7.646 MB / 447.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004175/0.2046, allocations: 3.278 MB / 450.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005053/0.2051, allocations: 53.06 kB / 450.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.2064, allocations: 1.405 MB / 452 MB, free: 40.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.2075, allocations: 0.963 MB / 452.9 MB, free: 39.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.208, allocations: 0.558 MB / 453.5 MB, free: 39.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.2091, allocations: 2.07 MB / 455.6 MB, free: 38.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008511/0.2099, allocations: 1.501 MB / 457.1 MB, free: 38.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006704/0.2106, allocations: 1.023 MB / 458.1 MB, free: 37.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006444/0.2112, allocations: 0.9798 MB / 459.1 MB, free: 37.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.2113, allocations: 142.5 kB / 459.2 MB, free: 37.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005065/0.2118, allocations: 0.5755 MB / 459.8 MB, free: 37.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003831/0.2122, allocations: 0.7879 MB / 460.6 MB, free: 37.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003485/0.2126, allocations: 0.5406 MB / 461.1 MB, free: 36.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.2141, allocations: 2.56 MB / 463.7 MB, free: 35.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2141, allocations: 0 / 463.7 MB, free: 35.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2141, allocations: 0 / 463.7 MB, free: 35.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.2141, allocations: 0 / 463.7 MB, free: 35.93 MB / 410.7 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.002016/0.2161, allocations: 2.014 MB / 465.7 MB, free: 34.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.2161, allocations: 13.02 kB / 465.7 MB, free: 34.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/0.2163, allocations: 241.9 kB / 465.9 MB, free: 34.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006961/0.217, allocations: 318.4 kB / 466.2 MB, free: 34.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.2181, allocations: 1.065 MB / 467.3 MB, free: 33.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/0.2182, allocations: 96.86 kB / 467.4 MB, free: 33.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.2183, allocations: 126.1 kB / 467.5 MB, free: 33.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/0.2212, allocations: 3.05 MB / 470.6 MB, free: 32.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.2212, allocations: 13.92 kB / 470.6 MB, free: 32.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.431e-05/0.2213, allocations: 55.03 kB / 470.6 MB, free: 32.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003379/0.2216, allocations: 441.9 kB / 471.1 MB, free: 32.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.2241, allocations: 2.162 MB / 473.2 MB, free: 31.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00636/0.2305, allocations: 10.36 MB / 483.6 MB, free: 24.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.2328, allocations: 1.281 MB / 484.9 MB, free: 24.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004392/0.2332, allocations: 374 kB / 485.2 MB, free: 24.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002717/0.2359, allocations: 2.078 MB / 487.3 MB, free: 23.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.236, allocations: 38.56 kB / 487.4 MB, free: 23.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 2.555e-06/0.236, allocations: 0 / 487.4 MB, free: 23.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.007926/0.2439, allocations: 3.802 MB / 491.2 MB, free: 21.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.244, allocations: 88.11 kB / 491.3 MB, free: 21.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.2456, allocations: 1.391 MB / 492.6 MB, free: 21.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.2456, allocations: 40.77 kB / 492.7 MB, free: 21.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005012/0.2461, allocations: 0.9644 MB / 493.6 MB, free: 20.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.2462, allocations: 232 kB / 493.9 MB, free: 20.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.2465, allocations: 303.9 kB / 494.2 MB, free: 20.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.082e-05/0.2465, allocations: 302.8 kB / 494.5 MB, free: 19.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005222/0.247, allocations: 417.2 kB / 494.9 MB, free: 19.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009099/0.2479, allocations: 1.272 MB / 496.1 MB, free: 18.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.2493, allocations: 1.802 MB / 497.9 MB, free: 16.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.2494, allocations: 8.656 kB / 498 MB, free: 16.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001832/0.2512, allocations: 1.724 MB / 499.7 MB, free: 16.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.2512, allocations: 19.47 kB / 499.7 MB, free: 16.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.55e-05/0.2513, allocations: 29.69 kB / 499.7 MB, free: 16.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001797/0.2514, allocations: 86.95 kB / 499.8 MB, free: 16.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006802/0.2521, allocations: 356.5 kB / 0.4884 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.2533, allocations: 1.763 MB / 0.4902 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006454/0.254, allocations: 100.4 kB / 0.4903 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.2541, allocations: 85.81 kB / 0.4903 GB, free: 14.48 MB / 410.7 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.0008135/0.2549, allocations: 0.6409 MB / 0.491 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.255, allocations: 120.8 kB / 0.4911 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.2552, allocations: 133.6 kB / 0.4912 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2552, allocations: 10.05 kB / 0.4912 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.2552, allocations: 1.156 kB / 0.4912 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.2552, allocations: 6.984 kB / 0.4912 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.2579, allocations: 2.171 MB / 0.4933 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/0.2579, allocations: 3.781 kB / 0.4933 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.2582, allocations: 101.5 kB / 0.4934 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/0.2583, allocations: 70.09 kB / 0.4935 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.2583, allocations: 15.66 kB / 0.4935 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009606/0.2593, allocations: 1.828 MB / 0.4953 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2593, allocations: 4.125 kB / 0.4953 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.2604, allocations: 1.102 MB / 0.4964 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.2605, allocations: 128.1 kB / 0.4965 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.2606, allocations: 20.33 kB / 0.4965 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.2608, allocations: 43.72 kB / 0.4966 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/0.2609, allocations: 53.77 kB / 0.4966 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.2609, allocations: 20.28 kB / 0.4966 GB, free: 10.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009153/0.2618, allocations: 0.8839 MB / 0.4975 GB, free: 10.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2618, allocations: 0 / 0.4975 GB, free: 10.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001012/0.2629, allocations: 350.4 kB / 0.4978 GB, free: 10.23 MB / 410.7 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.001261/0.2641, allocations: 1.701 MB / 0.4995 GB, free: 9.051 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.2653, allocations: 1.062 MB / 0.5005 GB, free: 8.617 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2653, allocations: 1.375 kB / 0.5005 GB, free: 8.617 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003784/0.2657, allocations: 391.8 kB / 0.5009 GB, free: 8.414 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006765/0.2663, allocations: 191.2 kB / 0.5011 GB, free: 8.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.2764, allocations: 11.93 MB / 0.5127 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008732/0.2772, allocations: 0.8669 MB / 0.5136 GB, free: 11.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006565/0.2779, allocations: 413.5 kB / 0.514 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/0.2784, allocations: 0.5823 MB / 0.5146 GB, free: 10.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.313e-06/0.2784, allocations: 0 / 0.5146 GB, free: 10.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.3129, allocations: 25.24 MB / 0.5392 GB, free: 1.535 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.285, allocations: 6.609 kB / 0.5392 GB, free: 1.535 MB / 442.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/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: 10.412703145295382]