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.0009187/0.0009187, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009465/0.0009465, allocations: 168.7 kB / 24.91 MB, free: 9.148 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.9348/0.9348, allocations: 177.1 MB / 205.3 MB, free: 5.488 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 1.593e-06/1.593e-06, allocations: 0 / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.528e-05, allocations: 2.312 kB / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003412/0.003437, allocations: 2.152 MB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003598/0.003797, allocations: 175.2 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.441e-05/0.003881, allocations: 7.938 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.004004, allocations: 35.66 kB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.114e-05/0.004075, allocations: 43.56 kB / 275.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.004203, allocations: 43.88 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.004367, allocations: 187.1 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.004515, allocations: 59.03 kB / 276.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.004624, allocations: 95.84 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.793e-05/0.004722, allocations: 55.8 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.004744, allocations: 12 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.636e-05/0.004761, allocations: 12 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/0.004789, allocations: 39.84 kB / 276.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.00483, allocations: 51.91 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.004985, allocations: 119.4 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.004988, allocations: 0 / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.00499, allocations: 4 kB / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.004994, allocations: 4 kB / 276.6 MB, free: 14.17 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.0003739/0.005368, allocations: 364.2 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.0054, allocations: 12.03 kB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.005441, allocations: 28.91 kB / 277 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.005597, allocations: 145.5 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.00561, allocations: 16.16 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.005634, allocations: 20.38 kB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.005772, allocations: 150.4 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.005784, allocations: 4.188 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.005795, allocations: 8.375 kB / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.005803, allocations: 8.125 kB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.609e-05/0.005869, allocations: 63.81 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.006493, allocations: 0.7479 MB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.99e-05/0.006563, allocations: 83.73 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.006589, allocations: 34.52 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.006598, allocations: 8.172 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.006619, allocations: 42.5 kB / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.00662, allocations: 0 / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001489/0.006769, allocations: 81.59 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.006804, allocations: 106.8 kB / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.622e-05/0.00689, allocations: 169.1 kB / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.0069, allocations: 29.69 kB / 278.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.006954, allocations: 140.2 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.00698, allocations: 59.5 kB / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.007018, allocations: 45.94 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.012e-05/0.007088, allocations: 330.8 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.007108, allocations: 16.47 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.981e-05/0.007178, allocations: 122.6 kB / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.007286, allocations: 170 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.007289, allocations: 4 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001378/0.007426, allocations: 161.4 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.007439, allocations: 4 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.007444, allocations: 4 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.007458, allocations: 8 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/0.007548, allocations: 51.92 kB / 279.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.007554, allocations: 7.938 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.433e-05/0.007609, allocations: 27.83 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.007617, allocations: 8 kB / 279.8 MB, free: 10.61 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 6.138e-05/0.007678, allocations: 125.7 kB / 279.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.007719, allocations: 20.08 kB / 279.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.007746, allocations: 16.34 kB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.007749, allocations: 4 kB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.00775, allocations: 0 / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.007753, allocations: 0 / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.007951, allocations: 113.8 kB / 280.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.007953, allocations: 4 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/0.00803, allocations: 31.98 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.008031, allocations: 3.938 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.008043, allocations: 7.938 kB / 280.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.008045, allocations: 7.938 kB / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.008046, allocations: 4 kB / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.008215, allocations: 342 kB / 280.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.008231, allocations: 19.83 kB / 280.5 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.008246, allocations: 7.938 kB / 280.5 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.008323, allocations: 3.984 kB / 280.5 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.008344, allocations: 15.92 kB / 280.5 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.008349, allocations: 4 kB / 280.5 MB, free: 9.848 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.487e-05/0.008374, allocations: 30.36 kB / 280.5 MB, free: 9.816 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008374, allocations: 0 / 280.5 MB, free: 9.816 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002065/0.00858, allocations: 43.94 kB / 280.6 MB, free: 9.773 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 7.843e-05/0.008659, allocations: 88.06 kB / 280.7 MB, free: 9.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.638e-05/0.008755, allocations: 80.88 kB / 280.7 MB, free: 9.598 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.00876, allocations: 4 kB / 280.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.555e-05/0.008785, allocations: 45.06 kB / 280.8 MB, free: 9.547 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.009045, allocations: 24.8 kB / 280.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.009463, allocations: 398.5 kB / 281.2 MB, free: 9.102 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.41e-05/0.009507, allocations: 75.98 kB / 281.3 MB, free: 9.008 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.871e-05/0.009545, allocations: 9.484 kB / 281.3 MB, free: 8.996 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.163e-05/0.009607, allocations: 79.36 kB / 281.4 MB, free: 8.918 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.009608, allocations: 0 / 281.4 MB, free: 8.918 MB / 266.7 MB Notification: Performance of Templates: time 0.002714/0.01232, allocations: 1.322 MB / 282.7 MB, free: 7.625 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 -s gbode -gbm=radauIIA3 -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.5550797530449927]