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.0009874/0.0009874, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001935/0.002922, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.00107/0.00107, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001498/0.002567, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9593/0.9593, allocations: 177.5 MB / 190.1 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09313/1.052, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] 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: 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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.928e-05, allocations: 5.406 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003432/0.003452, allocations: 2.156 MB / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003655/0.003817, allocations: 171.2 kB / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.215e-05/0.003909, allocations: 4 kB / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.508e-05/0.004005, allocations: 27.67 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.004107, allocations: 55.48 kB / 247.6 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.004216, allocations: 35.95 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.00444, allocations: 195.1 kB / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.004571, allocations: 51.09 kB / 247.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.004723, allocations: 115.7 kB / 248 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.004842, allocations: 51.88 kB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.004876, allocations: 12 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.521e-05/0.004911, allocations: 16 kB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.389e-05/0.004945, allocations: 27.88 kB / 248.1 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.005004, allocations: 47.88 kB / 248.2 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.005194, allocations: 111.5 kB / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/0.005205, allocations: 0 / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.005206, allocations: 0 / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.005216, allocations: 4 kB / 248.3 MB, free: 10.49 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.0005308/0.005747, allocations: 395.9 kB / 248.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.005783, allocations: 12.03 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.005843, allocations: 28.91 kB / 248.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.006033, allocations: 145.5 kB / 248.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.006053, allocations: 20.16 kB / 248.9 MB, free: 9.855 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.006087, allocations: 20.38 kB / 248.9 MB, free: 9.836 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.006279, allocations: 150.4 kB / 249 MB, free: 9.668 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.006293, allocations: 4.188 kB / 249 MB, free: 9.664 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.006306, allocations: 4.375 kB / 249 MB, free: 9.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.006317, allocations: 8.125 kB / 249 MB, free: 9.652 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.614e-05/0.006413, allocations: 59.77 kB / 249.1 MB, free: 9.598 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007236/0.007137, allocations: 0.7519 MB / 249.9 MB, free: 8.797 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.139e-05/0.007208, allocations: 79.64 kB / 249.9 MB, free: 8.691 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.614e-05/0.007234, allocations: 38.78 kB / 250 MB, free: 8.645 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.007241, allocations: 4 kB / 250 MB, free: 8.641 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.007258, allocations: 34.56 kB / 250 MB, free: 8.598 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.00726, allocations: 0 / 250 MB, free: 8.598 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001401/0.0074, allocations: 93.52 kB / 250.1 MB, free: 8.5 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.007433, allocations: 106.8 kB / 250.2 MB, free: 8.371 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.007544, allocations: 175 kB / 250.4 MB, free: 8.188 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.007552, allocations: 25.7 kB / 250.4 MB, free: 8.156 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.007601, allocations: 144.1 kB / 250.5 MB, free: 8.012 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.00763, allocations: 59.52 kB / 250.6 MB, free: 7.953 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.007667, allocations: 45.86 kB / 250.6 MB, free: 7.898 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.598e-05/0.007733, allocations: 330.8 kB / 251 MB, free: 7.566 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.007753, allocations: 20.47 kB / 251 MB, free: 7.547 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.007866, allocations: 126.6 kB / 251.1 MB, free: 7.375 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.007976, allocations: 173.5 kB / 251.3 MB, free: 7.156 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.007979, allocations: 0 / 251.3 MB, free: 7.156 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001298/0.008108, allocations: 157.4 kB / 251.4 MB, free: 6.996 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.00812, allocations: 8 kB / 251.4 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.008128, allocations: 11.97 kB / 251.5 MB, free: 6.977 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.008139, allocations: 4 kB / 251.5 MB, free: 6.973 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.00823, allocations: 51.92 kB / 251.5 MB, free: 6.922 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.008236, allocations: 4 kB / 251.5 MB, free: 6.918 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.68e-05/0.008293, allocations: 23.84 kB / 251.5 MB, free: 6.895 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.008301, allocations: 15.94 kB / 251.6 MB, free: 6.879 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 5.678e-05/0.008358, allocations: 125.7 kB / 251.7 MB, free: 6.746 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.008394, allocations: 24.78 kB / 251.7 MB, free: 6.723 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.008422, allocations: 20.33 kB / 251.7 MB, free: 6.699 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.008424, allocations: 0 / 251.7 MB, free: 6.699 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.008425, allocations: 0 / 251.7 MB, free: 6.699 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.00843, allocations: 4 kB / 251.7 MB, free: 6.695 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.00862, allocations: 113.8 kB / 251.8 MB, free: 6.566 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.008621, allocations: 0 / 251.8 MB, free: 6.566 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.917e-05/0.0087, allocations: 39.97 kB / 251.9 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.372e-05/0.008714, allocations: 19.78 kB / 251.9 MB, free: 6.508 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.008715, allocations: 0 / 251.9 MB, free: 6.508 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.008725, allocations: 4 kB / 251.9 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.008727, allocations: 4 kB / 251.9 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.008727, allocations: 0 / 251.9 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.008885, allocations: 353.8 kB / 252.2 MB, free: 6.137 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.008899, allocations: 7.938 kB / 252.3 MB, free: 6.129 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.008972, allocations: 4 kB / 252.3 MB, free: 6.125 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.008985, allocations: 7.984 kB / 252.3 MB, free: 6.117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.008989, allocations: 4 kB / 252.3 MB, free: 6.113 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.71e-05/0.009016, allocations: 36.81 kB / 252.3 MB, free: 6.074 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009016, allocations: 0 / 252.3 MB, free: 6.074 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.009226, allocations: 36 kB / 252.3 MB, free: 6.039 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 6.803e-05/0.009294, allocations: 88.36 kB / 252.4 MB, free: 5.941 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.009394, allocations: 88.61 kB / 252.5 MB, free: 5.852 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.009402, allocations: 4 kB / 252.5 MB, free: 5.848 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.65e-05/0.009439, allocations: 42 kB / 252.6 MB, free: 5.805 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.009849, allocations: 210.2 kB / 252.8 MB, free: 5.562 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000758/0.01061, allocations: 342.5 kB / 253.1 MB, free: 5.195 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.758e-05/0.01065, allocations: 79.92 kB / 253.2 MB, free: 5.098 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.953e-05/0.0107, allocations: 18.33 kB / 253.2 MB, free: 5.078 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.163e-05/0.01077, allocations: 71.36 kB / 253.3 MB, free: 5.008 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01077, allocations: 0 / 253.3 MB, free: 5.008 MB / 250.7 MB Notification: Performance of Templates: time 0.002558/0.01332, allocations: 1.172 MB / 254.4 MB, free: 3.859 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4046558970585465]