Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.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.0007016/0.0007016, 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.0008088/0.0008088, 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.9154/0.9154, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.714e-05, allocations: 4.953 kB / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002272/0.002289, allocations: 2.022 MB / 326.6 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003445/0.002633, allocations: 163.4 kB / 326.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.504e-05/0.002718, allocations: 4 kB / 326.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.002845, allocations: 27.66 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.538e-05/0.00292, allocations: 55.5 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.00308, allocations: 35.94 kB / 326.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.00326, allocations: 191.1 kB / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.003403, allocations: 46.45 kB / 327.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.706e-05/0.0035, allocations: 99.8 kB / 327.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.608e-05/0.003586, allocations: 51.86 kB / 327.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.003615, allocations: 12 kB / 327.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.738e-05/0.003632, allocations: 16 kB / 327.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.00366, allocations: 35.83 kB / 327.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.003704, allocations: 51.86 kB / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.003887, allocations: 183.3 kB / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.003889, allocations: 0 / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.00389, allocations: 4 kB / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.003894, allocations: 0 / 327.5 MB, free: 12.96 MB / 298.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.00046/0.004354, allocations: 393.3 kB / 327.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.004391, allocations: 8.031 kB / 327.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.004435, allocations: 54.67 kB / 328 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.004468, allocations: 24.8 kB / 328 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.004648, allocations: 157.5 kB / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.004662, allocations: 20.36 kB / 328.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.004687, allocations: 20.33 kB / 328.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.004898, allocations: 182.4 kB / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.00491, allocations: 4.188 kB / 328.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.004926, allocations: 8.375 kB / 328.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.004934, allocations: 7.938 kB / 328.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.005062, allocations: 95.88 kB / 328.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008306/0.005892, allocations: 0.8845 MB / 329.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.006, allocations: 95.73 kB / 329.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/0.006046, allocations: 46.75 kB / 329.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.006057, allocations: 8 kB / 329.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.006077, allocations: 34.56 kB / 329.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.006079, allocations: 0 / 329.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002369/0.006316, allocations: 133.9 kB / 329.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.006367, allocations: 110.8 kB / 329.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.006522, allocations: 207.8 kB / 330 MB, free: 10.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.006535, allocations: 29.7 kB / 330 MB, free: 10.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.14e-05/0.006607, allocations: 140.1 kB / 330.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.006637, allocations: 55.53 kB / 330.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.006686, allocations: 45.94 kB / 330.3 MB, free: 9.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.006775, allocations: 334.8 kB / 330.6 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.078e-05/0.006826, allocations: 36.45 kB / 330.6 MB, free: 9.594 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.695e-05/0.006923, allocations: 143.6 kB / 330.8 MB, free: 9.406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.007083, allocations: 197.5 kB / 331 MB, free: 9.164 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.007086, allocations: 0 / 331 MB, free: 9.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002083/0.007294, allocations: 221.5 kB / 331.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.007313, allocations: 11.98 kB / 331.2 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.00732, allocations: 7.938 kB / 331.2 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.007333, allocations: 4 kB / 331.2 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.007436, allocations: 47.92 kB / 331.2 MB, free: 8.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.007446, allocations: 7.938 kB / 331.2 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.997e-05/0.007516, allocations: 27.78 kB / 331.3 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.00753, allocations: 19.98 kB / 331.3 MB, free: 8.816 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.801e-05/0.007608, allocations: 137.7 kB / 331.4 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.007643, allocations: 20.03 kB / 331.4 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.007673, allocations: 17.03 kB / 331.5 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.007676, allocations: 4 kB / 331.5 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.007682, allocations: 0 / 331.5 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.007687, allocations: 3.984 kB / 331.5 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.007942, allocations: 204.5 kB / 331.7 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.007944, allocations: 0 / 331.7 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-05/0.008024, allocations: 31.92 kB / 331.7 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.008025, allocations: 4 kB / 331.7 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.008036, allocations: 8 kB / 331.7 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.008039, allocations: 4 kB / 331.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.008039, allocations: 4 kB / 331.7 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.008294, allocations: 401.7 kB / 332.1 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.008312, allocations: 11.91 kB / 332.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.008328, allocations: 0 / 332.1 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.808e-05/0.008416, allocations: 8.062 kB / 332.1 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.008433, allocations: 11.92 kB / 332.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.008438, allocations: 7.984 kB / 332.2 MB, free: 7.887 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.703e-05/0.008515, allocations: 153.5 kB / 332.3 MB, free: 7.738 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008515, allocations: 0 / 332.3 MB, free: 7.738 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002403/0.008755, allocations: 43.88 kB / 332.3 MB, free: 7.695 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.0003712/0.009127, allocations: 0.918 MB / 333.3 MB, free: 6.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.009295, allocations: 107.8 kB / 333.4 MB, free: 6.645 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.009297, allocations: 0 / 333.4 MB, free: 6.645 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.124e-05/0.009328, allocations: 31.92 kB / 333.4 MB, free: 6.613 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.009683, allocations: 33.31 kB / 333.4 MB, free: 6.586 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.01153, allocations: 2.481 MB / 335.9 MB, free: 3.926 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.963e-05/0.01161, allocations: 116.1 kB / 336 MB, free: 3.793 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.326e-05/0.01166, allocations: 25.94 kB / 336.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.01172, allocations: 52.48 kB / 336.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01172, allocations: 0 / 336.1 MB, free: 3.715 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.02854, allocations: 4.175 MB / 340.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.723/6.752, allocations: 7.828 kB / 340.3 MB, free: 15.67 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv. Warning: Get data of variable mass3.v from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.537465789355338]