Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 83.89 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9158/0.9158, allocations: 173.4 MB / 201.2 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 7.938 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.638e-05, allocations: 2.312 kB / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002112/0.002129, allocations: 2.111 MB / 270.1 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003001/0.002429, allocations: 171.2 kB / 270.3 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.749e-05/0.002506, allocations: 4 kB / 270.3 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.002625, allocations: 23.72 kB / 270.3 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.816e-05/0.002693, allocations: 51.58 kB / 270.3 MB, free: 4.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.002826, allocations: 43.81 kB / 270.4 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004146/0.003241, allocations: 191.1 kB / 270.6 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.003355, allocations: 34.48 kB / 270.6 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.559e-05/0.00344, allocations: 107.8 kB / 270.7 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.48e-05/0.003525, allocations: 47.88 kB / 270.8 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.003551, allocations: 16 kB / 270.8 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.816e-05/0.003569, allocations: 16 kB / 270.8 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.003595, allocations: 31.84 kB / 270.8 MB, free: 3.582 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.00364, allocations: 59.83 kB / 270.9 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.003785, allocations: 119.6 kB / 271 MB, free: 3.406 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003787, allocations: 0 / 271 MB, free: 3.406 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.003788, allocations: 3.984 kB / 271 MB, free: 3.402 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.003792, allocations: 0 / 271 MB, free: 3.402 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.0004165/0.004208, allocations: 499.8 kB / 271.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.004239, allocations: 11.97 kB / 271.5 MB, free: 2.867 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.00429, allocations: 40.8 kB / 271.5 MB, free: 2.828 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.004442, allocations: 152.4 kB / 271.7 MB, free: 2.652 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.004454, allocations: 12.38 kB / 271.7 MB, free: 2.641 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.00448, allocations: 20.38 kB / 271.7 MB, free: 2.621 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.004659, allocations: 172.2 kB / 271.9 MB, free: 2.426 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.004671, allocations: 8.078 kB / 271.9 MB, free: 2.418 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.004684, allocations: 8.375 kB / 271.9 MB, free: 2.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.004693, allocations: 8.125 kB / 271.9 MB, free: 2.402 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.336e-05/0.004787, allocations: 75.88 kB / 272 MB, free: 2.328 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007184/0.005505, allocations: 1.063 MB / 273 MB, free: 1.191 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.19e-05/0.005597, allocations: 109.2 kB / 273.1 MB, free: 1.047 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.005635, allocations: 47.17 kB / 273.2 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.005644, allocations: 4 kB / 273.2 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.005663, allocations: 33.39 kB / 273.2 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.005664, allocations: 0 / 273.2 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.000193/0.005857, allocations: 121.8 kB / 273.4 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.005894, allocations: 110.8 kB / 273.5 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.006009, allocations: 221.7 kB / 273.7 MB, free: 460 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.006018, allocations: 25.7 kB / 273.7 MB, free: 428 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.006082, allocations: 194.9 kB / 273.9 MB, free: 228 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.006109, allocations: 59.52 kB / 273.9 MB, free: 168 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.006151, allocations: 47.59 kB / 274 MB, free: 108 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.006255, allocations: 0.4962 MB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.363e-05/0.006289, allocations: 20.45 kB / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.095e-05/0.00638, allocations: 171.9 kB / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.00652, allocations: 218.7 kB / 274.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.006523, allocations: 8 kB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001777/0.006701, allocations: 193.2 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.006713, allocations: 8 kB / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.006719, allocations: 0 / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.006731, allocations: 8.406 kB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.434e-05/0.006825, allocations: 47.92 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.006833, allocations: 11.98 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.006888, allocations: 23.84 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.0069, allocations: 12 kB / 275.2 MB, free: 14.75 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 7.155e-05/0.006971, allocations: 176.3 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.007007, allocations: 19.95 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.007035, allocations: 16.34 kB / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.007037, allocations: 0 / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.007042, allocations: 7.984 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.007046, allocations: 4 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.007263, allocations: 180.5 kB / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.007264, allocations: 4.359 kB / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.005e-05/0.007344, allocations: 27.98 kB / 275.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.007348, allocations: 7.984 kB / 275.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.007362, allocations: 4 kB / 275.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.007363, allocations: 0 / 275.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.007363, allocations: 4 kB / 275.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.007571, allocations: 0.4942 MB / 276.1 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.007587, allocations: 19.83 kB / 276.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.0076, allocations: 3.938 kB / 276.2 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.007673, allocations: 12 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.00769, allocations: 7.984 kB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.007693, allocations: 0 / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.462e-05/0.007748, allocations: 160.6 kB / 276.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007748, allocations: 0 / 276.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002319/0.00798, allocations: 43.89 kB / 276.4 MB, free: 13.5 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 5.802e-05/0.008038, allocations: 99.25 kB / 276.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.00817, allocations: 99.89 kB / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.008171, allocations: 0 / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.968e-05/0.008201, allocations: 39.59 kB / 276.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.008501, allocations: 37.77 kB / 276.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.009023, allocations: 0.4949 MB / 277.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.586e-05/0.009069, allocations: 75.98 kB / 277.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.994e-05/0.009109, allocations: 17.47 kB / 277.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.009136, allocations: 16.5 kB / 277.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of SimCode: time 3.8e-07/0.009136, allocations: 0 / 277.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of Templates: time 0.002871/0.01201, allocations: 1.245 MB / 278.5 MB, free: 11.34 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5626972848549485]