Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000832/0.000832, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008914/0.0008914, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8628/0.8628, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2367/0.2367, allocations: 34.24 MB / 294.8 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.414e-05, allocations: 2.281 kB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.1764/0.1764, allocations: 10.72 MB / 452.9 MB, free: 38.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004759/0.1811, allocations: 3.688 MB / 456.6 MB, free: 36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006393/0.1818, allocations: 69.34 kB / 456.6 MB, free: 35.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.1832, allocations: 1.343 MB / 458 MB, free: 35.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.185, allocations: 1.831 MB / 459.8 MB, free: 34.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.1856, allocations: 464.9 kB / 460.3 MB, free: 34.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001874/0.1875, allocations: 3.964 MB / 464.2 MB, free: 33.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.1886, allocations: 2.099 MB / 466.3 MB, free: 32.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.1897, allocations: 1.834 MB / 468.2 MB, free: 31.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.1909, allocations: 1.965 MB / 470.1 MB, free: 30.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.1912, allocations: 242.2 kB / 470.4 MB, free: 30.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008164/0.192, allocations: 0.779 MB / 471.1 MB, free: 30.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006807/0.1927, allocations: 1.663 MB / 472.8 MB, free: 30.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005169/0.1932, allocations: 1.004 MB / 473.8 MB, free: 29.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003014/0.1962, allocations: 6.047 MB / 479.9 MB, free: 27.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1962, allocations: 3.094 kB / 479.9 MB, free: 27.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1962, allocations: 4 kB / 479.9 MB, free: 27.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.671e-05/0.1962, allocations: 0 / 479.9 MB, free: 27.42 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.003732/0.2, allocations: 4.075 MB / 483.9 MB, free: 25.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.2, allocations: 9.594 kB / 484 MB, free: 25.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005494/0.2006, allocations: 0.7017 MB / 484.7 MB, free: 24.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005876/0.2064, allocations: 3.154 MB / 487.8 MB, free: 24.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.2086, allocations: 1.925 MB / 489.7 MB, free: 23.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-05/0.2087, allocations: 185 kB / 489.9 MB, free: 23.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003272/0.209, allocations: 249.4 kB / 490.2 MB, free: 23.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00894/0.218, allocations: 10.19 MB / 0.4886 GB, free: 18.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.076e-05/0.218, allocations: 30.11 kB / 0.4886 GB, free: 18.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002386/0.2183, allocations: 120.2 kB / 0.4888 GB, free: 18.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002057/0.2203, allocations: 2.468 MB / 0.4912 GB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008472/0.2288, allocations: 9.351 MB / 0.5003 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02309/0.2519, allocations: 30.11 MB / 0.5297 GB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003099/0.255, allocations: 2.42 MB / 0.5321 GB, free: 8.832 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008688/0.2559, allocations: 1.001 MB / 0.533 GB, free: 7.832 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004566/0.2563, allocations: 439.4 kB / 0.5335 GB, free: 7.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.2563, allocations: 43.88 kB / 0.5335 GB, free: 7.355 MB / 442.7 MB Notification: Performance of pre-optimization done (n=185): time 3.606e-06/0.2563, allocations: 0 / 0.5335 GB, free: 7.355 MB / 442.7 MB Notification: Performance of matching and sorting (n=191): time 0.01156/0.2679, allocations: 9.228 MB / 0.5425 GB, free: 14.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.2679, allocations: 68.66 kB / 0.5426 GB, free: 14.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002565/0.2705, allocations: 2.938 MB / 0.5455 GB, free: 11.06 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/0.2706, allocations: 53.69 kB / 0.5455 GB, free: 11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.2717, allocations: 2.76 MB / 0.5482 GB, free: 8.211 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004172/0.2722, allocations: 0.7247 MB / 0.5489 GB, free: 7.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009097/0.2731, allocations: 0.9497 MB / 0.5498 GB, free: 6.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2732, allocations: 305.1 kB / 0.5501 GB, free: 6.219 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.2747, allocations: 1.544 MB / 0.5516 GB, free: 4.668 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002787/0.2775, allocations: 4.371 MB / 0.5559 GB, free: 14.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005096/0.2826, allocations: 6.555 MB / 0.5623 GB, free: 6.949 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.421e-05/0.2826, allocations: 32 kB / 0.5623 GB, free: 6.918 MB / 474.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.00595/0.2886, allocations: 5.837 MB / 0.568 GB, free: 1.066 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/0.2886, allocations: 52.25 kB / 0.5681 GB, free: 1.016 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-05/0.2887, allocations: 100 kB / 0.5682 GB, free: 0.918 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002502/0.2889, allocations: 176.8 kB / 0.5683 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.2906, allocations: 1.068 MB / 0.5694 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.2917, allocations: 1.683 MB / 0.571 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.2934, allocations: 239.7 kB / 0.5713 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/0.2936, allocations: 300 kB / 0.5715 GB, free: 13.35 MB / 490.7 MB 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.002303/0.2959, allocations: 1.985 MB / 0.5735 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.2961, allocations: 262.3 kB / 0.5737 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.2984, allocations: 2.526 MB / 0.5762 GB, free: 8.539 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.2984, allocations: 27.92 kB / 0.5762 GB, free: 8.512 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2984, allocations: 0 / 0.5762 GB, free: 8.512 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.2984, allocations: 7.969 kB / 0.5762 GB, free: 8.504 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007152/0.3056, allocations: 7.775 MB / 0.5838 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.3056, allocations: 12 kB / 0.5838 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005114/0.3061, allocations: 249.6 kB / 0.5841 GB, free: 292 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.934e-05/0.3062, allocations: 56.83 kB / 0.5841 GB, free: 232 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/0.3062, allocations: 43.98 kB / 0.5842 GB, free: 188 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008376/0.3071, allocations: 1.527 MB / 0.5857 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.3071, allocations: 15.88 kB / 0.5857 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003086/0.3102, allocations: 4.017 MB / 0.5896 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.3104, allocations: 250.2 kB / 0.5898 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.3106, allocations: 39.97 kB / 0.5899 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/0.311, allocations: 75.92 kB / 0.59 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/0.3112, allocations: 124.6 kB / 0.5901 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.915e-05/0.3113, allocations: 67.98 kB / 0.5901 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001436/0.3127, allocations: 1.721 MB / 0.5918 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.3127, allocations: 0 / 0.5918 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002418/0.3152, allocations: 0.8437 MB / 0.5926 GB, free: 7.25 MB / 0.4948 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.003714/0.3189, allocations: 4.695 MB / 0.5972 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003606/0.3225, allocations: 3.724 MB / 0.6009 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3225, allocations: 4 kB / 0.6009 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009108/0.3234, allocations: 1.159 MB / 0.602 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.3244, allocations: 348.3 kB / 0.6023 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02798/0.3524, allocations: 33.76 MB / 0.6353 GB, free: 7.164 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002034/0.3544, allocations: 2.588 MB / 0.6378 GB, free: 4.547 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002493/0.3569, allocations: 1.721 MB / 0.6395 GB, free: 2.82 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/0.3583, allocations: 1.703 MB / 0.6412 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of SimCode: time 1.944e-06/0.3583, allocations: 0 / 0.6412 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2145/0.5728, allocations: 46.52 MB / 0.6866 GB, free: 158.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.14/9.713, allocations: 4.406 kB / 0.6866 GB, free: 158.7 MB / 0.5417 GB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 11.810028572566807]