Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.0009429, allocations: 76.08 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009919/0.0009919, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8745/0.8745, allocations: 173.4 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.105e-05, allocations: 14.22 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002122/0.002143, allocations: 1.989 MB / 320.4 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003094/0.002453, allocations: 167.4 kB / 320.6 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.476e-05/0.002538, allocations: 4 kB / 320.6 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.002665, allocations: 31.66 kB / 320.6 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.565e-05/0.002731, allocations: 51.5 kB / 320.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.002868, allocations: 39.89 kB / 320.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.003035, allocations: 191.1 kB / 320.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.003161, allocations: 57.66 kB / 320.9 MB, free: 3.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.095e-05/0.003242, allocations: 103.8 kB / 321 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.2e-05/0.003324, allocations: 47.81 kB / 321.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.00335, allocations: 16 kB / 321.1 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.596e-05/0.003366, allocations: 12 kB / 321.1 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.00339, allocations: 31.91 kB / 321.1 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.003433, allocations: 59.83 kB / 321.2 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.003601, allocations: 179.4 kB / 321.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003603, allocations: 0 / 321.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.041e-06/0.003604, allocations: 0 / 321.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.003609, allocations: 4 kB / 321.4 MB, free: 3.371 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004139/0.004023, allocations: 389.5 kB / 321.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.004058, allocations: 8.922 kB / 321.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.004098, allocations: 54.73 kB / 321.8 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.00413, allocations: 24.8 kB / 321.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.004301, allocations: 149.5 kB / 322 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.004316, allocations: 16.38 kB / 322 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.004343, allocations: 20.38 kB / 322 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.004546, allocations: 186 kB / 322.2 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.00456, allocations: 8.078 kB / 322.2 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.004572, allocations: 8.375 kB / 322.2 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.004579, allocations: 7.938 kB / 322.2 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.004697, allocations: 95.88 kB / 322.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007646/0.005461, allocations: 0.8884 MB / 323.2 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.005563, allocations: 95.83 kB / 323.3 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.005605, allocations: 50.52 kB / 323.4 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/0.005614, allocations: 4.078 kB / 323.4 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.005634, allocations: 38.56 kB / 323.4 MB, free: 1.145 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.005636, allocations: 0 / 323.4 MB, free: 1.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002394/0.005875, allocations: 126 kB / 323.5 MB, free: 1.016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.005926, allocations: 110.8 kB / 323.6 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.006076, allocations: 211.8 kB / 323.8 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.00609, allocations: 33.64 kB / 323.9 MB, free: 0.625 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.006155, allocations: 144 kB / 324 MB, free: 492 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.006182, allocations: 51.58 kB / 324.1 MB, free: 440 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.006226, allocations: 49.94 kB / 324.1 MB, free: 380 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.963e-05/0.006306, allocations: 334.8 kB / 324.4 MB, free: 36 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.812e-05/0.006364, allocations: 40.5 kB / 324.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.614e-05/0.00645, allocations: 142.5 kB / 324.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.006603, allocations: 193.5 kB / 324.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.006606, allocations: 4 kB / 324.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000239/0.006845, allocations: 221.4 kB / 325 MB, free: 15.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.006862, allocations: 4 kB / 325 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.00687, allocations: 4 kB / 325 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.006885, allocations: 4 kB / 325 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.006998, allocations: 51.91 kB / 325.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.007006, allocations: 7.938 kB / 325.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/0.00707, allocations: 27.78 kB / 325.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.00708, allocations: 16 kB / 325.1 MB, free: 15.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.219e-05/0.007152, allocations: 133.8 kB / 325.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.007187, allocations: 19.91 kB / 325.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.00722, allocations: 29.02 kB / 325.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.007223, allocations: 0 / 325.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.007227, allocations: 0 / 325.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.007231, allocations: 4 kB / 325.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.007492, allocations: 192.6 kB / 325.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.007495, allocations: 7.984 kB / 325.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.192e-05/0.007576, allocations: 27.98 kB / 325.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.007578, allocations: 0 / 325.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.00759, allocations: 8 kB / 325.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.007592, allocations: 4 kB / 325.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.007594, allocations: 7.938 kB / 325.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.00781, allocations: 389.1 kB / 325.9 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.007832, allocations: 27.84 kB / 326 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.007847, allocations: 4 kB / 326 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.202e-05/0.007929, allocations: 4 kB / 326 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.007947, allocations: 7.984 kB / 326 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.007951, allocations: 4 kB / 326 MB, free: 14.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.712e-05/0.008028, allocations: 145.5 kB / 326.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008028, allocations: 0 / 326.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002339/0.008262, allocations: 47.88 kB / 326.2 MB, free: 14.12 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003545/0.008616, allocations: 0.9101 MB / 327.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.008762, allocations: 103.8 kB / 327.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008763, allocations: 0 / 327.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.978e-05/0.008793, allocations: 35.92 kB / 327.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.009125, allocations: 32.78 kB / 327.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.01075, allocations: 2.5 MB / 329.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.045e-05/0.01082, allocations: 112.2 kB / 329.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.547e-05/0.01087, allocations: 21.94 kB / 329.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.01093, allocations: 52.48 kB / 329.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01093, allocations: 0 / 329.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.02843, allocations: 4.173 MB / 334.1 MB, free: 6.098 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.826/6.855, allocations: 15.53 kB / 334.1 MB, free: 6.086 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mass3.v in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv. Warning: Get data of variable mass3.v from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.574066577479243]