Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0017/0.0017, allocations: 85.16 kB / 21.44 MB, free: 296 kB / 14.72 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.001582/0.001582, allocations: 164.9 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.218e-05, allocations: 2.281 kB / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00352/0.003553, allocations: 1.995 MB / 300.9 MB, free: 6.715 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004323/0.003985, allocations: 167.3 kB / 301.1 MB, free: 6.551 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.004091, allocations: 4 kB / 301.1 MB, free: 6.547 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.004243, allocations: 27.72 kB / 301.1 MB, free: 6.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.004351, allocations: 55.45 kB / 301.2 MB, free: 6.465 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.004528, allocations: 39.92 kB / 301.2 MB, free: 6.426 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.0048, allocations: 187.1 kB / 301.4 MB, free: 6.242 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.004972, allocations: 46.42 kB / 301.5 MB, free: 6.195 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.005129, allocations: 103.8 kB / 301.6 MB, free: 6.094 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.005251, allocations: 51.88 kB / 301.6 MB, free: 6.043 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.005294, allocations: 12 kB / 301.6 MB, free: 6.031 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.176e-05/0.005325, allocations: 16 kB / 301.6 MB, free: 6.016 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.005376, allocations: 35.83 kB / 301.7 MB, free: 5.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.09e-05/0.005457, allocations: 55.84 kB / 301.7 MB, free: 5.926 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.005743, allocations: 175.4 kB / 301.9 MB, free: 5.754 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.005745, allocations: 0 / 301.9 MB, free: 5.754 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005746, allocations: 0 / 301.9 MB, free: 5.754 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.005752, allocations: 7.875 kB / 301.9 MB, free: 5.746 MB / 286.1 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.0007171/0.006469, allocations: 401.5 kB / 302.3 MB, free: 5.324 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.006508, allocations: 11.98 kB / 302.3 MB, free: 5.312 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.006559, allocations: 16.84 kB / 302.3 MB, free: 5.297 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.006829, allocations: 157.5 kB / 302.5 MB, free: 5.117 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.006851, allocations: 12.38 kB / 302.5 MB, free: 5.105 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.006894, allocations: 24.36 kB / 302.5 MB, free: 5.082 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.007209, allocations: 186.3 kB / 302.7 MB, free: 4.879 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.007228, allocations: 8.109 kB / 302.7 MB, free: 4.871 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.007248, allocations: 8.375 kB / 302.7 MB, free: 4.863 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.007259, allocations: 8.125 kB / 302.7 MB, free: 4.855 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.007449, allocations: 91.89 kB / 302.8 MB, free: 4.766 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.008709, allocations: 0.8381 MB / 303.6 MB, free: 3.863 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.008879, allocations: 99.81 kB / 303.7 MB, free: 3.738 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.689e-05/0.008946, allocations: 42.61 kB / 303.8 MB, free: 3.688 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.008959, allocations: 7.984 kB / 303.8 MB, free: 3.68 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.008992, allocations: 38.56 kB / 303.8 MB, free: 3.633 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.008994, allocations: 0 / 303.8 MB, free: 3.633 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003377/0.009331, allocations: 122.1 kB / 304 MB, free: 3.508 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.009405, allocations: 106.8 kB / 304.1 MB, free: 3.379 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.009591, allocations: 166.2 kB / 304.2 MB, free: 3.207 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.009614, allocations: 33.7 kB / 304.3 MB, free: 3.168 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.009729, allocations: 148.1 kB / 304.4 MB, free: 3.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.009774, allocations: 47.59 kB / 304.4 MB, free: 2.973 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.009857, allocations: 45.94 kB / 304.5 MB, free: 2.922 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.01002, allocations: 322.8 kB / 304.8 MB, free: 2.598 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.0101, allocations: 44.45 kB / 304.8 MB, free: 2.555 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.01026, allocations: 138.7 kB / 305 MB, free: 2.371 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.01052, allocations: 213.4 kB / 305.2 MB, free: 2.113 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01052, allocations: 4 kB / 305.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003311/0.01085, allocations: 209.6 kB / 305.4 MB, free: 1.898 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.01087, allocations: 12.06 kB / 305.4 MB, free: 1.887 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.01088, allocations: 4 kB / 305.4 MB, free: 1.883 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.0109, allocations: 4 kB / 305.4 MB, free: 1.879 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.01106, allocations: 51.92 kB / 305.5 MB, free: 1.828 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.01108, allocations: 7.938 kB / 305.5 MB, free: 1.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.01119, allocations: 27.72 kB / 305.5 MB, free: 1.793 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.01121, allocations: 12 kB / 305.5 MB, free: 1.781 MB / 286.1 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.0001175/0.01133, allocations: 141.7 kB / 305.7 MB, free: 1.633 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.0114, allocations: 11.91 kB / 305.7 MB, free: 1.621 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.388e-05/0.01144, allocations: 16.34 kB / 305.7 MB, free: 1.605 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01144, allocations: 8 kB / 305.7 MB, free: 1.598 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.01145, allocations: 3.938 kB / 305.7 MB, free: 1.594 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.01146, allocations: 3.984 kB / 305.7 MB, free: 1.59 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.01184, allocations: 173.1 kB / 305.9 MB, free: 1.391 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01184, allocations: 0 / 305.9 MB, free: 1.391 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.012, allocations: 27.98 kB / 305.9 MB, free: 1.363 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.012, allocations: 4 kB / 305.9 MB, free: 1.359 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.01201, allocations: 0 / 305.9 MB, free: 1.359 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.01202, allocations: 7.984 kB / 305.9 MB, free: 1.352 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01202, allocations: 3.938 kB / 305.9 MB, free: 1.348 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.01236, allocations: 381.9 kB / 306.3 MB, free: 0.957 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.01239, allocations: 12.05 kB / 306.3 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.01242, allocations: 16.03 kB / 306.3 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.01256, allocations: 0 / 306.3 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.01259, allocations: 7.984 kB / 306.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.0126, allocations: 4 kB / 306.3 MB, free: 0.918 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.975e-05/0.0127, allocations: 124.1 kB / 306.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0127, allocations: 3.938 kB / 306.4 MB, free: 0.793 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003866/0.01309, allocations: 43.89 kB / 306.5 MB, free: 0.75 MB / 286.1 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.0001184/0.0132, allocations: 95.25 kB / 306.6 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.01342, allocations: 112.2 kB / 306.7 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.01342, allocations: 0 / 306.7 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.963e-05/0.01348, allocations: 35.92 kB / 306.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.01411, allocations: 27.86 kB / 306.8 MB, free: 488 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008824/0.01499, allocations: 497.4 kB / 307.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.01512, allocations: 120.1 kB / 307.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.307e-05/0.01518, allocations: 13.48 kB / 307.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.01522, allocations: 16.5 kB / 307.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.01522, allocations: 0 / 307.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of Templates: time 0.004248/0.01947, allocations: 1.156 MB / 308.5 MB, free: 14.63 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1477439515292645]