Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.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.001533/0.001533, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001846/0.001846, allocations: 212.4 kB / 23.73 MB, free: 4.523 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.361/1.361, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2125/0.2125, allocations: 46.96 MB / 360.9 MB, free: 4.02 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.Prismatic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 71.89 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3013, allocations: 66.03 MB / 0.5606 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01388/0.3152, allocations: 10.71 MB / 0.5711 GB, free: 9.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008004/0.3232, allocations: 3.68 MB / 0.5746 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.3247, allocations: 71.69 kB / 0.5747 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002642/0.3273, allocations: 1.3 MB / 0.576 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003747/0.331, allocations: 1.787 MB / 0.5777 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008963/0.3319, allocations: 419.2 kB / 0.5781 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004156/0.3361, allocations: 3.598 MB / 0.5816 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.3382, allocations: 1.835 MB / 0.5834 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.3397, allocations: 1.222 MB / 0.5846 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.342, allocations: 1.916 MB / 0.5865 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004433/0.3424, allocations: 236 kB / 0.5867 GB, free: 9.477 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.3438, allocations: 0.7254 MB / 0.5874 GB, free: 8.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.3452, allocations: 1.597 MB / 0.589 GB, free: 7.148 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.3466, allocations: 1.346 MB / 0.5903 GB, free: 5.793 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006161/0.3528, allocations: 6.122 MB / 0.5963 GB, free: 15.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3528, allocations: 0 / 0.5963 GB, free: 15.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3528, allocations: 0 / 0.5963 GB, free: 15.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001086/0.3529, allocations: 0 / 0.5963 GB, free: 15.64 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.006623/0.3595, allocations: 4.084 MB / 0.6003 GB, free: 11.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3596, allocations: 8.031 kB / 0.6003 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009716/0.3605, allocations: 0.7001 MB / 0.601 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.371, allocations: 3.11 MB / 0.604 GB, free: 7.668 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005314/0.3763, allocations: 2.087 MB / 0.606 GB, free: 5.543 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.3765, allocations: 188.8 kB / 0.6062 GB, free: 5.355 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006898/0.3772, allocations: 243.8 kB / 0.6065 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01686/0.394, allocations: 10.19 MB / 0.6164 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.853e-05/0.3941, allocations: 27.81 kB / 0.6164 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003574/0.3945, allocations: 119.8 kB / 0.6165 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004098/0.3986, allocations: 2.467 MB / 0.619 GB, free: 7.887 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/0.4166, allocations: 9.321 MB / 0.6281 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04588/0.4625, allocations: 29.9 MB / 0.6572 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005493/0.468, allocations: 2.333 MB / 0.6595 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.4694, allocations: 0.9899 MB / 0.6605 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008589/0.4703, allocations: 442.6 kB / 0.6609 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.4703, allocations: 47.88 kB / 0.661 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 5.861e-06/0.4703, allocations: 3.984 kB / 0.661 GB, free: 12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.01859/0.4889, allocations: 8.939 MB / 0.6697 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.489, allocations: 68.72 kB / 0.6698 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003508/0.4925, allocations: 2.782 MB / 0.6725 GB, free: 152 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.4926, allocations: 49.7 kB / 0.6725 GB, free: 96 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002047/0.4946, allocations: 2.78 MB / 0.6752 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006927/0.4953, allocations: 0.7324 MB / 0.676 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/0.4965, allocations: 0.9769 MB / 0.6769 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4967, allocations: 301.1 kB / 0.6772 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/0.4989, allocations: 1.544 MB / 0.6787 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004379/0.5033, allocations: 4.371 MB / 0.683 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007673/0.511, allocations: 6.555 MB / 0.6894 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.666e-05/0.511, allocations: 28 kB / 0.6894 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.008912/0.5199, allocations: 5.844 MB / 0.6951 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.143e-05/0.52, allocations: 44 kB / 0.6952 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/0.5201, allocations: 104 kB / 0.6952 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003072/0.5204, allocations: 169.7 kB / 0.6954 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002937/0.5234, allocations: 1.072 MB / 0.6965 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.525, allocations: 1.685 MB / 0.6981 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/0.5272, allocations: 219.8 kB / 0.6983 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003537/0.5275, allocations: 292 kB / 0.6986 GB, free: 2.406 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (592): * Single equations (assignments): 585 * Array equations: 6 * 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.002755/0.5303, allocations: 1.989 MB / 0.7005 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003333/0.5306, allocations: 258.3 kB / 0.7008 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003714/0.5343, allocations: 2.53 MB / 0.7033 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/0.5343, allocations: 20 kB / 0.7033 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5343, allocations: 3.984 kB / 0.7033 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.5344, allocations: 7.984 kB / 0.7033 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.5469, allocations: 7.72 MB / 0.7108 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.5469, allocations: 8 kB / 0.7108 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009631/0.5479, allocations: 247.6 kB / 0.7111 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001576/0.548, allocations: 52.83 kB / 0.7111 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.785e-05/0.5481, allocations: 59.84 kB / 0.7112 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.5495, allocations: 1.518 MB / 0.7127 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/0.5496, allocations: 15.94 kB / 0.7127 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005102/0.5547, allocations: 4.013 MB / 0.7166 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004859/0.5551, allocations: 246.2 kB / 0.7168 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.5554, allocations: 35.98 kB / 0.7169 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006999/0.5561, allocations: 59.94 kB / 0.7169 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/0.5563, allocations: 124.5 kB / 0.717 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.5564, allocations: 67.97 kB / 0.7171 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002157/0.5585, allocations: 1.611 MB / 0.7187 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5585, allocations: 0 / 0.7187 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003016/0.5616, allocations: 0.7734 MB / 0.7194 GB, free: 12.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.00551/0.5671, allocations: 4.703 MB / 0.724 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005644/0.5727, allocations: 3.713 MB / 0.7276 GB, free: 4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.5727, allocations: 128 / 0.7276 GB, free: 4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/0.5744, allocations: 1.174 MB / 0.7288 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.5762, allocations: 349.5 kB / 0.7291 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2586/0.8349, allocations: 33.44 MB / 0.7618 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003039/0.8379, allocations: 2.586 MB / 0.7643 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00287/0.8408, allocations: 1.71 MB / 0.766 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001599/0.8424, allocations: 1.694 MB / 0.7676 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/0.8424, allocations: 0 / 0.7676 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08318/0.9256, allocations: 47.67 MB / 0.8142 GB, free: 80.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/15.4, allocations: 0 / 0.8142 GB, free: 80.68 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.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: 18.309908536990406]