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.001084/0.001084, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009642/0.0009642, allocations: 169.4 kB / 24.91 MB, free: 8.77 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.9938/0.9938, allocations: 177.1 MB / 205.3 MB, free: 5.105 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: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.524e-05, allocations: 5.969 kB / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003171/0.003196, allocations: 2.117 MB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004846/0.003681, allocations: 163.3 kB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.003786, allocations: 7.938 kB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.003933, allocations: 31.72 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.004041, allocations: 55.5 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.004207, allocations: 43.88 kB / 275.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.004427, allocations: 187.1 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.004563, allocations: 47.09 kB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.004704, allocations: 103.8 kB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.004818, allocations: 51.75 kB / 276.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.004852, allocations: 16 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.138e-05/0.004874, allocations: 12 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.004908, allocations: 39.89 kB / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.885e-05/0.004966, allocations: 55.84 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.005152, allocations: 119.5 kB / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.005155, allocations: 0 / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.005156, allocations: 0 / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.00516, allocations: 0 / 276.5 MB, free: 14.13 MB / 266.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.0004739/0.005634, allocations: 368.2 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.00567, allocations: 8.031 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.005723, allocations: 28.92 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.005909, allocations: 153.5 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.005926, allocations: 12.38 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.005961, allocations: 20.36 kB / 277 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.006142, allocations: 142.4 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.006156, allocations: 192 / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.006172, allocations: 12.38 kB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.006184, allocations: 8.125 kB / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.698e-05/0.006271, allocations: 63.7 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008141/0.007085, allocations: 0.7518 MB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.88e-05/0.007183, allocations: 87.81 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.007217, allocations: 30.52 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.007227, allocations: 4 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.007252, allocations: 38.59 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.007254, allocations: 0 / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001917/0.007445, allocations: 85.58 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.007493, allocations: 110.8 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.007612, allocations: 180.7 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.007625, allocations: 25.7 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.007691, allocations: 140.1 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.007728, allocations: 59.52 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.007783, allocations: 45.92 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.007873, allocations: 326.8 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.0079, allocations: 16.45 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.864e-05/0.007989, allocations: 122.6 kB / 279.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.008138, allocations: 169.4 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.008141, allocations: 0 / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002017/0.008343, allocations: 157.9 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.008363, allocations: 11.98 kB / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.00837, allocations: 4 kB / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.008387, allocations: 4 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.008523, allocations: 56.27 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.008531, allocations: 4 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.889e-05/0.008619, allocations: 27.84 kB / 279.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.008631, allocations: 8 kB / 279.7 MB, free: 10.57 MB / 266.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 8.275e-05/0.008713, allocations: 129.7 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.008769, allocations: 11.94 kB / 279.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.008805, allocations: 20.33 kB / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.00881, allocations: 4 kB / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.008812, allocations: 0 / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.008815, allocations: 0 / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.009126, allocations: 113.8 kB / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.009132, allocations: 12 kB / 280 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.009247, allocations: 35.92 kB / 280 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.00925, allocations: 0 / 280 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.009264, allocations: 3.938 kB / 280 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.009268, allocations: 4 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.009269, allocations: 0 / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.009511, allocations: 349.9 kB / 280.4 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/0.009535, allocations: 19.83 kB / 280.4 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.009554, allocations: 3.938 kB / 280.4 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.009676, allocations: 4 kB / 280.4 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.009696, allocations: 11.98 kB / 280.4 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.0097, allocations: 4 kB / 280.4 MB, free: 9.812 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.346e-05/0.009744, allocations: 42.28 kB / 280.5 MB, free: 9.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009744, allocations: 0 / 280.5 MB, free: 9.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003603/0.0101, allocations: 43.94 kB / 280.5 MB, free: 9.727 MB / 266.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.000105/0.01021, allocations: 76.42 kB / 280.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.01036, allocations: 85.38 kB / 280.7 MB, free: 9.555 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.01036, allocations: 4.062 kB / 280.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.732e-05/0.01039, allocations: 36.78 kB / 280.7 MB, free: 9.512 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.01066, allocations: 23.98 kB / 280.7 MB, free: 9.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004818/0.01114, allocations: 407 kB / 281.1 MB, free: 9.059 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.593e-05/0.01119, allocations: 71.98 kB / 281.2 MB, free: 8.969 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.544e-05/0.01123, allocations: 17.48 kB / 281.2 MB, free: 8.949 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.0113, allocations: 67.38 kB / 281.3 MB, free: 8.883 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.0113, allocations: 0 / 281.3 MB, free: 8.883 MB / 266.7 MB Notification: Performance of Templates: time 0.002973/0.01427, allocations: 1.309 MB / 282.6 MB, free: 7.594 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.713687639683485]