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.0008331/0.0008331, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008533/0.0008533, allocations: 161.8 kB / 25.45 MB, free: 9.348 MB / 18.57 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 0.8834/0.8834, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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 1.403e-06/1.403e-06, allocations: 0 / 299.7 MB, free: 6.941 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.6e-05, allocations: 10.22 kB / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002065/0.002081, allocations: 1.983 MB / 301.7 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003378/0.002419, allocations: 167.3 kB / 301.8 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.207e-05/0.002501, allocations: 4 kB / 301.8 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.002614, allocations: 31.66 kB / 301.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.56e-05/0.002679, allocations: 47.52 kB / 301.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.002815, allocations: 51.86 kB / 302 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.00298, allocations: 187.1 kB / 302.2 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.003102, allocations: 42.42 kB / 302.2 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.29e-05/0.003185, allocations: 103.8 kB / 302.3 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.61e-05/0.003261, allocations: 47.88 kB / 302.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.003286, allocations: 12 kB / 302.4 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.675e-05/0.003303, allocations: 16 kB / 302.4 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.003328, allocations: 35.84 kB / 302.4 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.00337, allocations: 59.83 kB / 302.5 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.003535, allocations: 179.4 kB / 302.6 MB, free: 3.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003537, allocations: 0 / 302.6 MB, free: 3.957 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003537, allocations: 0 / 302.6 MB, free: 3.957 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.003542, allocations: 0 / 302.6 MB, free: 3.957 MB / 282.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.0004087/0.00395, allocations: 385.5 kB / 303 MB, free: 3.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.003982, allocations: 19.92 kB / 303 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.004017, allocations: 20.8 kB / 303.1 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.0042, allocations: 161.5 kB / 303.2 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.004212, allocations: 12.38 kB / 303.2 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.004245, allocations: 24.31 kB / 303.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.004449, allocations: 190 kB / 303.4 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.004463, allocations: 4.172 kB / 303.4 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.004478, allocations: 12.38 kB / 303.5 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.004485, allocations: 8.125 kB / 303.5 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.0046, allocations: 87.89 kB / 303.5 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007204/0.005321, allocations: 0.8497 MB / 304.4 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.517e-05/0.005416, allocations: 99.88 kB / 304.5 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.701e-05/0.005453, allocations: 42.52 kB / 304.5 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.005462, allocations: 4.078 kB / 304.5 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.00548, allocations: 42.55 kB / 304.6 MB, free: 1.832 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.005481, allocations: 0 / 304.6 MB, free: 1.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001993/0.00568, allocations: 121.5 kB / 304.7 MB, free: 1.707 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.005718, allocations: 106.8 kB / 304.8 MB, free: 1.578 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/0.005817, allocations: 166.2 kB / 305 MB, free: 1.406 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.005828, allocations: 25.7 kB / 305 MB, free: 1.375 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.005888, allocations: 156.2 kB / 305.1 MB, free: 1.219 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.005913, allocations: 47.53 kB / 305.2 MB, free: 1.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.005955, allocations: 45.94 kB / 305.2 MB, free: 1.121 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.006028, allocations: 326.8 kB / 305.6 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.507e-05/0.006073, allocations: 36.45 kB / 305.6 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-05/0.00616, allocations: 138.7 kB / 305.7 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.006303, allocations: 205.4 kB / 305.9 MB, free: 332 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.006307, allocations: 7.984 kB / 305.9 MB, free: 324 kB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000191/0.006498, allocations: 217.8 kB / 306.1 MB, free: 100 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.00651, allocations: 11.94 kB / 306.2 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.006516, allocations: 4 kB / 306.2 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.006527, allocations: 4 kB / 306.2 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.006614, allocations: 47.92 kB / 306.2 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.006621, allocations: 7.938 kB / 306.2 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.00668, allocations: 24.25 kB / 306.2 MB, free: 0 / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.0067, allocations: 8.141 kB / 306.3 MB, free: 15.99 MB / 298.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 7.365e-05/0.006773, allocations: 145.6 kB / 306.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.006807, allocations: 15.91 kB / 306.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.006832, allocations: 16.34 kB / 306.4 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.006835, allocations: 4 kB / 306.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.006838, allocations: 0 / 306.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.006842, allocations: 3.984 kB / 306.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.007066, allocations: 177.1 kB / 306.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.007067, allocations: 0 / 306.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.702e-05/0.007144, allocations: 27.98 kB / 306.6 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.007146, allocations: 8 kB / 306.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.007155, allocations: 4 kB / 306.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.007159, allocations: 11.92 kB / 306.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.00716, allocations: 0 / 306.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.007367, allocations: 377.9 kB / 307 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.007383, allocations: 15.84 kB / 307 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.007398, allocations: 7.984 kB / 307 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.007473, allocations: 4.062 kB / 307.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.00749, allocations: 7.984 kB / 307.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.007494, allocations: 7.938 kB / 307.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.341e-05/0.007547, allocations: 120.1 kB / 307.2 MB, free: 15 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007547, allocations: 8 kB / 307.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002338/0.007781, allocations: 39.95 kB / 307.2 MB, free: 14.95 MB / 298.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 5.99e-05/0.007841, allocations: 99.19 kB / 307.3 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.007976, allocations: 103.8 kB / 307.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.007977, allocations: 0.8125 kB / 307.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.651e-05/0.008013, allocations: 35.92 kB / 307.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.008324, allocations: 39.62 kB / 307.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/0.008905, allocations: 0.514 MB / 308 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.178e-05/0.008987, allocations: 112.2 kB / 308.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.009019, allocations: 20.5 kB / 308.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.009019, allocations: 0 / 308.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of Templates: time 0.002297/0.01132, allocations: 1.96 MB / 310.1 MB, free: 12 MB / 298.7 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.134845329448581]