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.00134/0.00134, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001535/0.001535, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9058/0.9058, allocations: 177.1 MB / 205 MB, free: 5.262 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 9.32e-07/9.32e-07, allocations: 0 / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.275e-05, allocations: 2.312 kB / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.001971/0.001984, allocations: 2.126 MB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002759/0.00226, allocations: 159.4 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.548e-05/0.002325, allocations: 11.94 kB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.789e-05/0.002423, allocations: 35.66 kB / 275.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.136e-05/0.002485, allocations: 43.56 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.002596, allocations: 47.88 kB / 275.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.002756, allocations: 187 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.002857, allocations: 38.47 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.081e-05/0.002937, allocations: 103.8 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/0.003014, allocations: 55.81 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.003035, allocations: 16 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.744e-05/0.003053, allocations: 16 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.003078, allocations: 31.84 kB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.003121, allocations: 59.89 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.003252, allocations: 111.6 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003254, allocations: 0 / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003254, allocations: 0 / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.003258, allocations: 0 / 276 MB, free: 14.36 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.0003697/0.003628, allocations: 499.9 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.003657, allocations: 12.03 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.003708, allocations: 32.8 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.003841, allocations: 160.3 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.003853, allocations: 12.38 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.003877, allocations: 24.27 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.004276, allocations: 168.6 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.004285, allocations: 192 / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.004297, allocations: 4.375 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.004304, allocations: 16.12 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.004396, allocations: 75.81 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006876/0.005083, allocations: 1.074 MB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.541e-05/0.005179, allocations: 113.2 kB / 278.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.005214, allocations: 43.23 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-06/0.00522, allocations: 4 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.005239, allocations: 41.33 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 9.62e-07/0.00524, allocations: 4 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001771/0.005417, allocations: 113.5 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.005451, allocations: 106.8 kB / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.997e-05/0.005551, allocations: 224.1 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.005562, allocations: 33.7 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.005629, allocations: 190.9 kB / 278.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.005656, allocations: 55.53 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.005698, allocations: 47.59 kB / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.005793, allocations: 0.4923 MB / 279.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.219e-05/0.005825, allocations: 24.45 kB / 279.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.878e-05/0.005914, allocations: 167.9 kB / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.006054, allocations: 230.7 kB / 279.9 MB, free: 10 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006056, allocations: 0 / 279.9 MB, free: 10 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001712/0.006227, allocations: 185.8 kB / 280.1 MB, free: 9.816 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.006237, allocations: 8 kB / 280.1 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.006242, allocations: 4.406 kB / 280.1 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.006253, allocations: 8.141 kB / 280.1 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.225e-05/0.006345, allocations: 55.86 kB / 280.2 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.006352, allocations: 7.984 kB / 280.2 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.601e-05/0.006408, allocations: 23.83 kB / 280.2 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.006418, allocations: 16 kB / 280.2 MB, free: 9.695 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.965e-05/0.006488, allocations: 176.4 kB / 280.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.006527, allocations: 15.91 kB / 280.4 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.006552, allocations: 16.34 kB / 280.4 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.006559, allocations: 4 kB / 280.4 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.006562, allocations: 3.938 kB / 280.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.006566, allocations: 7.984 kB / 280.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.006777, allocations: 176.5 kB / 280.6 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.006778, allocations: 0 / 280.6 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/0.006862, allocations: 35.92 kB / 280.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.006863, allocations: 0 / 280.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.006877, allocations: 7.984 kB / 280.6 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.006878, allocations: 0 / 280.6 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006879, allocations: 0 / 280.6 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.007081, allocations: 0.4903 MB / 281.1 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.007097, allocations: 19.83 kB / 281.2 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.007111, allocations: 12 kB / 281.2 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.007182, allocations: 0 / 281.2 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.007197, allocations: 7.984 kB / 281.2 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.007203, allocations: 12.06 kB / 281.2 MB, free: 8.652 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.278e-05/0.007255, allocations: 156.6 kB / 281.3 MB, free: 8.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007255, allocations: 0 / 281.3 MB, free: 8.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.007483, allocations: 43.95 kB / 281.4 MB, free: 8.457 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.524e-05/0.007548, allocations: 99.19 kB / 281.5 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.007673, allocations: 99.52 kB / 281.6 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.007674, allocations: 0 / 281.6 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.156e-05/0.007705, allocations: 47.64 kB / 281.6 MB, free: 8.195 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.007991, allocations: 23.92 kB / 281.6 MB, free: 8.172 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.008491, allocations: 0.5104 MB / 282.2 MB, free: 7.629 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.231e-05/0.008543, allocations: 71.98 kB / 282.2 MB, free: 7.539 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.836e-05/0.008582, allocations: 17.48 kB / 282.2 MB, free: 7.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.008605, allocations: 16.5 kB / 282.3 MB, free: 7.504 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.008606, allocations: 0 / 282.3 MB, free: 7.504 MB / 266.7 MB Notification: Performance of Templates: time 0.002875/0.01148, allocations: 1.248 MB / 283.5 MB, free: 6.273 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.585245712660253]