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.001066/0.001066, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00115/0.00115, allocations: 166 kB / 24.82 MB, free: 9.266 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.9728/0.9728, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.613e-06/1.613e-06, allocations: 0 / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.148e-05, allocations: 2.312 kB / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002526/0.002548, allocations: 2.106 MB / 275.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002522/0.0028, allocations: 167.4 kB / 275.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.002869, allocations: 7.938 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.096e-05/0.00295, allocations: 23.72 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.32e-05/0.003013, allocations: 55.5 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.428e-05/0.003108, allocations: 39.94 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.003253, allocations: 187.1 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.085e-05/0.003344, allocations: 42.45 kB / 276 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.491e-05/0.003429, allocations: 103.8 kB / 276.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.838e-05/0.003497, allocations: 55.8 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.003517, allocations: 16 kB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.608e-05/0.003533, allocations: 12 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.003557, allocations: 31.91 kB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.0036, allocations: 51.84 kB / 276.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.003724, allocations: 127.4 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.003725, allocations: 0 / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.003726, allocations: 4 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.003729, allocations: 0 / 276.4 MB, free: 14.24 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.0003222/0.004051, allocations: 491.9 kB / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.601e-05/0.004077, allocations: 8.031 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.004115, allocations: 40.8 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.004228, allocations: 156.4 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.004239, allocations: 20.38 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.004259, allocations: 20.33 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.004387, allocations: 160.5 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.004395, allocations: 192 / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.004405, allocations: 8.375 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.004412, allocations: 8.125 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.727e-05/0.004479, allocations: 59.88 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00061/0.005089, allocations: 1.04 MB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.567e-05/0.005165, allocations: 117.2 kB / 278.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.005199, allocations: 47.12 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.005205, allocations: 4 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.005224, allocations: 45.33 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 7.12e-07/0.005225, allocations: 0 / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001313/0.005356, allocations: 101.5 kB / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.00539, allocations: 102.8 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.005485, allocations: 228.3 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.005496, allocations: 29.7 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.005562, allocations: 194.9 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.005591, allocations: 55.52 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.005633, allocations: 51.58 kB / 279.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.005742, allocations: 0.4962 MB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.018e-05/0.005762, allocations: 16.45 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.363e-05/0.005846, allocations: 171.8 kB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.005973, allocations: 206.7 kB / 280.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.005976, allocations: 4 kB / 280.2 MB, free: 9.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000154/0.00613, allocations: 185.9 kB / 280.4 MB, free: 9.789 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.00614, allocations: 8 kB / 280.4 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.006144, allocations: 4 kB / 280.4 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.006151, allocations: 4 kB / 280.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.428e-05/0.006235, allocations: 55.91 kB / 280.5 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.006242, allocations: 11.92 kB / 280.5 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.006293, allocations: 19.84 kB / 280.5 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.006301, allocations: 12 kB / 280.5 MB, free: 9.676 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.65e-05/0.006368, allocations: 172.8 kB / 280.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.006405, allocations: 27.84 kB / 280.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.006434, allocations: 20.33 kB / 280.7 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.006436, allocations: 3.984 kB / 280.7 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.006438, allocations: 0 / 280.7 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.006441, allocations: 4 kB / 280.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.006652, allocations: 145.2 kB / 280.9 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.006654, allocations: 4 kB / 280.9 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.552e-05/0.006729, allocations: 27.98 kB / 280.9 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.006732, allocations: 3.938 kB / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.00674, allocations: 11.94 kB / 280.9 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.006742, allocations: 4 kB / 280.9 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.006744, allocations: 4 kB / 280.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.006956, allocations: 498.1 kB / 281.4 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.006973, allocations: 15.84 kB / 281.4 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.006988, allocations: 7.938 kB / 281.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.007061, allocations: 4 kB / 281.5 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.007075, allocations: 11.92 kB / 281.5 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.007078, allocations: 4 kB / 281.5 MB, free: 8.668 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.91e-05/0.007127, allocations: 152.7 kB / 281.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007127, allocations: 4 kB / 281.6 MB, free: 8.516 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002222/0.00735, allocations: 39.95 kB / 281.7 MB, free: 8.477 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 6.151e-05/0.007411, allocations: 99.19 kB / 281.8 MB, free: 8.367 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.007514, allocations: 95.44 kB / 281.9 MB, free: 8.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.007515, allocations: 0 / 281.9 MB, free: 8.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.007543, allocations: 36.41 kB / 281.9 MB, free: 8.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.007816, allocations: 27.98 kB / 281.9 MB, free: 8.203 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004832/0.008299, allocations: 0.5061 MB / 282.4 MB, free: 7.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.706e-05/0.008346, allocations: 71.98 kB / 282.5 MB, free: 7.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.518e-05/0.008381, allocations: 13.48 kB / 282.5 MB, free: 7.555 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.008445, allocations: 98.19 kB / 282.6 MB, free: 7.457 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008446, allocations: 0 / 282.6 MB, free: 7.457 MB / 266.7 MB Notification: Performance of Templates: time 0.002525/0.01097, allocations: 1.301 MB / 283.9 MB, free: 6.184 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.5733856922015548]