Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.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.002073/0.002073, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.002826/0.002826, allocations: 216 kB / 23.73 MB, free: 4.406 MB / 14.72 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 1.517/1.517, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 63.91 kB / 377.7 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2707, allocations: 53.41 MB / 431.1 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003497/0.2742, allocations: 2.017 MB / 433.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004333/0.2747, allocations: 163.4 kB / 433.3 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.2748, allocations: 7.938 kB / 433.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.2749, allocations: 27.72 kB / 433.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.275, allocations: 55.55 kB / 433.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.2752, allocations: 39.95 kB / 433.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.2755, allocations: 179.2 kB / 433.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.2756, allocations: 42.39 kB / 433.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.776e-05/0.2757, allocations: 67.78 kB / 433.7 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.2758, allocations: 63.64 kB / 433.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.2759, allocations: 16 kB / 433.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.985e-05/0.2759, allocations: 12 kB / 433.8 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.2759, allocations: 35.84 kB / 433.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.276, allocations: 71.66 kB / 433.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.2763, allocations: 184.9 kB / 434.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2763, allocations: 0 / 434.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2763, allocations: 0 / 434.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.2763, allocations: 0 / 434.1 MB, free: 3.457 MB / 334.1 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.0006137/0.2769, allocations: 389.6 kB / 434.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.2769, allocations: 15.98 kB / 434.5 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.484e-05/0.277, allocations: 46.73 kB / 434.5 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.2771, allocations: 24.8 kB / 434.6 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.2773, allocations: 158.2 kB / 434.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.2774, allocations: 16.16 kB / 434.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.2774, allocations: 20.33 kB / 434.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.2777, allocations: 186.2 kB / 434.9 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.2777, allocations: 3.984 kB / 434.9 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.2777, allocations: 15.94 kB / 435 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.2778, allocations: 4 kB / 435 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.2779, allocations: 95.89 kB / 435 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.2793, allocations: 0.8954 MB / 435.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.2794, allocations: 99.83 kB / 436 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.529e-05/0.2795, allocations: 38.66 kB / 436.1 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.2795, allocations: 4 kB / 436.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.2796, allocations: 38.5 kB / 436.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.2796, allocations: 0 / 436.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003228/0.2799, allocations: 133.4 kB / 436.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/0.28, allocations: 102.8 kB / 436.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.2802, allocations: 219.6 kB / 436.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.2802, allocations: 33.7 kB / 436.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.2803, allocations: 136.1 kB / 436.7 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.123e-05/0.2804, allocations: 59.52 kB / 436.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-05/0.2805, allocations: 45.94 kB / 436.8 MB, free: 456 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.2806, allocations: 326.8 kB / 437.2 MB, free: 120 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.017e-05/0.2807, allocations: 36.45 kB / 437.2 MB, free: 84 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.2809, allocations: 142.6 kB / 437.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.2811, allocations: 201.5 kB / 437.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2811, allocations: 0 / 437.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003467/0.2815, allocations: 225.1 kB / 437.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.2815, allocations: 8 kB / 437.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.2815, allocations: 3.984 kB / 437.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/0.2815, allocations: 8 kB / 437.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.2817, allocations: 43.92 kB / 437.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2817, allocations: 8 kB / 437.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.2818, allocations: 32.12 kB / 437.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.2819, allocations: 12 kB / 437.9 MB, free: 15.31 MB / 350.1 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 0.0001297/0.282, allocations: 133.8 kB / 438 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.2821, allocations: 19.89 kB / 438 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.254e-05/0.2821, allocations: 25.67 kB / 438 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2821, allocations: 4 kB / 438 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2821, allocations: 0 / 438 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.2821, allocations: 3.938 kB / 438 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.2826, allocations: 200.6 kB / 438.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2826, allocations: 3.938 kB / 438.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.2827, allocations: 35.92 kB / 438.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2827, allocations: 0 / 438.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.2827, allocations: 11.98 kB / 438.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2827, allocations: 0 / 438.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2827, allocations: 0 / 438.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.2831, allocations: 393.8 kB / 438.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.2832, allocations: 15.91 kB / 438.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.2832, allocations: 4.062 kB / 438.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.2833, allocations: 0 / 438.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.2834, allocations: 11.92 kB / 438.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.2834, allocations: 8 kB / 438.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.2835, allocations: 153.5 kB / 438.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2835, allocations: 0 / 438.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003691/0.2839, allocations: 36 kB / 438.9 MB, free: 14.2 MB / 350.1 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.0006625/0.2845, allocations: 0.914 MB / 439.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.2848, allocations: 103.8 kB / 439.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2848, allocations: 0.8125 kB / 439.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.867e-05/0.2848, allocations: 43.92 kB / 440 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.2853, allocations: 26.92 kB / 440 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.2885, allocations: 2.637 MB / 442.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.2886, allocations: 108.1 kB / 442.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.351e-05/0.2887, allocations: 25.89 kB / 442.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.594e-05/0.2888, allocations: 51.42 kB / 442.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2888, allocations: 0 / 442.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03973/0.3285, allocations: 4.03 MB / 446.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.55, allocations: 18.98 kB / 446.8 MB, free: 6.148 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv. Warning: Get data of variable mass3.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.160966410767287]