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.001297/0.001297, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001475/0.001475, allocations: 142 kB / 25.59 MB, free: 8.609 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.9195/0.9195, allocations: 173.4 MB / 202.2 MB, free: 8.297 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: 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.0.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.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.482e-05, allocations: 2.312 kB / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003388/0.003413, allocations: 2.088 MB / 271.3 MB, free: 7.703 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004213/0.003834, allocations: 165.5 kB / 271.4 MB, free: 7.543 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.003956, allocations: 7.938 kB / 271.4 MB, free: 7.535 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.004107, allocations: 31.66 kB / 271.5 MB, free: 7.504 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.004214, allocations: 49.34 kB / 271.5 MB, free: 7.457 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.00438, allocations: 40.69 kB / 271.5 MB, free: 7.418 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.004617, allocations: 191 kB / 271.7 MB, free: 7.23 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.004765, allocations: 39.72 kB / 271.8 MB, free: 7.184 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.004902, allocations: 95.84 kB / 271.9 MB, free: 7.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.005016, allocations: 59.8 kB / 271.9 MB, free: 7.031 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.005047, allocations: 12 kB / 271.9 MB, free: 7.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.714e-05/0.005074, allocations: 18.94 kB / 272 MB, free: 7.004 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.00511, allocations: 31.84 kB / 272 MB, free: 6.973 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.005173, allocations: 51.91 kB / 272 MB, free: 6.922 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.005374, allocations: 131.4 kB / 272.2 MB, free: 6.793 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.005378, allocations: 0 / 272.2 MB, free: 6.793 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005379, allocations: 0 / 272.2 MB, free: 6.793 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.005384, allocations: 0 / 272.2 MB, free: 6.793 MB / 250.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.0005595/0.005943, allocations: 494 kB / 272.7 MB, free: 6.277 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.00598, allocations: 12.03 kB / 272.7 MB, free: 6.266 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.006047, allocations: 36.8 kB / 272.7 MB, free: 6.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.006242, allocations: 161.8 kB / 272.9 MB, free: 6.047 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.00626, allocations: 12.36 kB / 272.9 MB, free: 6.035 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.006291, allocations: 20.38 kB / 272.9 MB, free: 6.016 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.006507, allocations: 164.7 kB / 273 MB, free: 5.828 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.006526, allocations: 12.12 kB / 273.1 MB, free: 5.816 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.006541, allocations: 4.906 kB / 273.1 MB, free: 5.812 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.006551, allocations: 12.56 kB / 273.1 MB, free: 5.801 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.006663, allocations: 67.38 kB / 273.1 MB, free: 5.738 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.007719, allocations: 1.036 MB / 274.2 MB, free: 4.637 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.007842, allocations: 113.2 kB / 274.3 MB, free: 4.488 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.007891, allocations: 43.14 kB / 274.3 MB, free: 4.434 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.0079, allocations: 0 / 274.3 MB, free: 4.434 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.007929, allocations: 41.39 kB / 274.4 MB, free: 4.383 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.007931, allocations: 0 / 274.4 MB, free: 4.383 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002543/0.008185, allocations: 105.4 kB / 274.5 MB, free: 4.273 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.008238, allocations: 110.8 kB / 274.6 MB, free: 4.141 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.008388, allocations: 223.6 kB / 274.8 MB, free: 3.906 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.008404, allocations: 33.7 kB / 274.8 MB, free: 3.867 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.008503, allocations: 190.9 kB / 275 MB, free: 3.676 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.008546, allocations: 55.52 kB / 275.1 MB, free: 3.621 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.008613, allocations: 43.59 kB / 275.1 MB, free: 3.566 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.008768, allocations: 0.5001 MB / 275.6 MB, free: 3.055 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.008812, allocations: 20.45 kB / 275.6 MB, free: 3.035 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.00894, allocations: 167.8 kB / 275.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.009133, allocations: 206.8 kB / 276 MB, free: 2.535 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.009136, allocations: 4 kB / 276 MB, free: 2.531 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002666/0.009403, allocations: 185.7 kB / 276.2 MB, free: 2.344 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.00942, allocations: 4 kB / 276.2 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.009427, allocations: 4 kB / 276.2 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.009442, allocations: 8.406 kB / 276.2 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.009599, allocations: 55.91 kB / 276.3 MB, free: 2.273 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.009611, allocations: 11.94 kB / 276.3 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.976e-05/0.00971, allocations: 15.84 kB / 276.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.009724, allocations: 12.09 kB / 276.3 MB, free: 2.234 MB / 250.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 0.0001013/0.009825, allocations: 172.5 kB / 276.5 MB, free: 2.055 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.658e-05/0.009902, allocations: 23.88 kB / 276.5 MB, free: 2.031 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.301e-05/0.009945, allocations: 20.33 kB / 276.5 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.00995, allocations: 4 kB / 276.5 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.009953, allocations: 0 / 276.5 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.009957, allocations: 0 / 276.5 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.01032, allocations: 149.2 kB / 276.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.01032, allocations: 3.984 kB / 276.7 MB, free: 1.828 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.01045, allocations: 31.92 kB / 276.7 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.01046, allocations: 3.938 kB / 276.7 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.01047, allocations: 8 kB / 276.7 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.01048, allocations: 4 kB / 276.7 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.01048, allocations: 3.938 kB / 276.7 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.01081, allocations: 494.2 kB / 277.2 MB, free: 1.273 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.01083, allocations: 19.83 kB / 277.2 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.01085, allocations: 3.938 kB / 277.2 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.011, allocations: 12 kB / 277.2 MB, free: 1.238 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.01102, allocations: 7.984 kB / 277.2 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.01103, allocations: 0 / 277.2 MB, free: 1.23 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.56e-05/0.01111, allocations: 157.1 kB / 277.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01111, allocations: 0 / 277.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000409/0.01151, allocations: 43.88 kB / 277.4 MB, free: 1.035 MB / 250.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.0001108/0.01163, allocations: 95.25 kB / 277.5 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.01179, allocations: 96.58 kB / 277.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.0118, allocations: 0 / 277.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.655e-05/0.01184, allocations: 43.59 kB / 277.7 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.01235, allocations: 29.59 kB / 277.7 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007971/0.01315, allocations: 0.5065 MB / 278.2 MB, free: 228 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.826e-05/0.01322, allocations: 75.98 kB / 278.3 MB, free: 132 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.746e-05/0.01329, allocations: 13.48 kB / 278.3 MB, free: 116 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.531e-05/0.01338, allocations: 94.19 kB / 278.4 MB, free: 20 kB / 250.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01338, allocations: 0 / 278.4 MB, free: 20 kB / 250.7 MB Notification: Performance of Templates: time 0.004166/0.01755, allocations: 1.323 MB / 279.7 MB, free: 14.72 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.650692876894027]