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.0009634/0.0009634, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001488/0.002451, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009497/0.0009497, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001295/0.002244, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8937/0.8937, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1615/1.055, allocations: 52.48 MB / 238.5 MB, free: 7.641 MB / 234.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 1.593e-06/1.593e-06, allocations: 0 / 239.7 MB, free: 6.383 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.599e-05, allocations: 2.312 kB / 239.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.004128/0.004154, allocations: 2.15 MB / 241.9 MB, free: 4.23 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004779/0.004632, allocations: 171.2 kB / 242 MB, free: 4.062 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.004751, allocations: 4 kB / 242.1 MB, free: 4.059 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.004872, allocations: 27.67 kB / 242.1 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.004994, allocations: 53.52 kB / 242.1 MB, free: 3.98 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.005137, allocations: 47.88 kB / 242.2 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000259/0.005396, allocations: 184.6 kB / 242.4 MB, free: 3.754 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.005534, allocations: 43.12 kB / 242.4 MB, free: 3.707 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.005696, allocations: 115.7 kB / 242.5 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.005822, allocations: 47.88 kB / 242.6 MB, free: 3.547 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.005856, allocations: 16.56 kB / 242.6 MB, free: 3.531 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.825e-05/0.005884, allocations: 16 kB / 242.6 MB, free: 3.516 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.005924, allocations: 20.53 kB / 242.6 MB, free: 3.496 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.005985, allocations: 52.44 kB / 242.7 MB, free: 3.445 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.006203, allocations: 107.5 kB / 242.8 MB, free: 3.34 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.368e-05/0.006216, allocations: 5.656 kB / 242.8 MB, free: 3.336 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.006218, allocations: 0 / 242.8 MB, free: 3.336 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.006229, allocations: 0 / 242.8 MB, free: 3.336 MB / 234.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.0005813/0.006811, allocations: 401 kB / 243.2 MB, free: 2.922 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.006847, allocations: 9 kB / 243.2 MB, free: 2.914 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.006916, allocations: 28.91 kB / 243.2 MB, free: 2.887 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.007145, allocations: 154.5 kB / 243.4 MB, free: 2.711 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.007162, allocations: 12.38 kB / 243.4 MB, free: 2.699 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.0072, allocations: 16.38 kB / 243.4 MB, free: 2.684 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.007404, allocations: 158.9 kB / 243.5 MB, free: 2.508 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.007418, allocations: 192 / 243.5 MB, free: 2.508 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.007434, allocations: 9.062 kB / 243.5 MB, free: 2.5 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.007446, allocations: 8.812 kB / 243.6 MB, free: 2.492 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.849e-05/0.007545, allocations: 59.64 kB / 243.6 MB, free: 2.438 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009717/0.008516, allocations: 0.751 MB / 244.4 MB, free: 1.641 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.00863, allocations: 83.64 kB / 244.4 MB, free: 1.531 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.975e-05/0.00867, allocations: 34.78 kB / 244.5 MB, free: 1.488 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.008681, allocations: 4 kB / 244.5 MB, free: 1.484 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.008713, allocations: 42.56 kB / 244.5 MB, free: 1.434 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 2.184e-06/0.008715, allocations: 1.438 kB / 244.5 MB, free: 1.434 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002286/0.008944, allocations: 93.5 kB / 244.6 MB, free: 1.336 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.008985, allocations: 110.8 kB / 244.7 MB, free: 1.203 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/0.009081, allocations: 165.5 kB / 244.9 MB, free: 1.031 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.009091, allocations: 26.52 kB / 244.9 MB, free: 1 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.009149, allocations: 152.1 kB / 245.1 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.009177, allocations: 48.66 kB / 245.1 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.009223, allocations: 53.86 kB / 245.2 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.801e-05/0.009301, allocations: 322.8 kB / 245.5 MB, free: 424 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.009321, allocations: 19.59 kB / 245.5 MB, free: 408 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/0.009389, allocations: 122.6 kB / 245.6 MB, free: 236 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.009505, allocations: 175.4 kB / 245.8 MB, free: 12 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.009509, allocations: 1.781 kB / 245.8 MB, free: 12 kB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001746/0.009683, allocations: 155 kB / 245.9 MB, free: 15.86 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.009702, allocations: 11.98 kB / 246 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.009708, allocations: 4.844 kB / 246 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.00973, allocations: 4 kB / 246 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/0.009829, allocations: 57.55 kB / 246 MB, free: 15.78 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.009836, allocations: 7.938 kB / 246 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.009897, allocations: 23.84 kB / 246 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.009905, allocations: 8 kB / 246.1 MB, free: 15.74 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 6.568e-05/0.009971, allocations: 134.1 kB / 246.2 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.01001, allocations: 12.64 kB / 246.2 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.01005, allocations: 20.33 kB / 246.2 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.01005, allocations: 4 kB / 246.2 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.01006, allocations: 0 / 246.2 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01006, allocations: 0 / 246.2 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.01029, allocations: 121.8 kB / 246.3 MB, free: 15.42 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01029, allocations: 0 / 246.3 MB, free: 15.42 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.982e-05/0.01037, allocations: 27.98 kB / 246.4 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.01039, allocations: 27.77 kB / 246.4 MB, free: 15.37 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01039, allocations: 0 / 246.4 MB, free: 15.37 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.0104, allocations: 4 kB / 246.4 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.01041, allocations: 4 kB / 246.4 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01041, allocations: 3.938 kB / 246.4 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.01062, allocations: 346 kB / 246.7 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.01063, allocations: 3.938 kB / 246.8 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.01072, allocations: 8 kB / 246.8 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.01073, allocations: 7.984 kB / 246.8 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.01074, allocations: 0 / 246.8 MB, free: 14.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.37e-05/0.01077, allocations: 37.69 kB / 246.8 MB, free: 14.94 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01077, allocations: 3.938 kB / 246.8 MB, free: 14.94 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.011, allocations: 43.95 kB / 246.8 MB, free: 14.89 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 9.809e-05/0.0111, allocations: 84.36 kB / 246.9 MB, free: 14.8 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.01122, allocations: 94.48 kB / 247 MB, free: 14.71 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.01123, allocations: 0 / 247 MB, free: 14.71 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.369e-05/0.01127, allocations: 46.05 kB / 247.1 MB, free: 14.66 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.01162, allocations: 214.2 kB / 247.3 MB, free: 14.42 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008626/0.01248, allocations: 349.8 kB / 247.6 MB, free: 14.05 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.01279, allocations: 75.98 kB / 247.7 MB, free: 13.95 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.488e-05/0.01285, allocations: 18.33 kB / 247.7 MB, free: 13.94 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.01292, allocations: 79.34 kB / 247.8 MB, free: 13.86 MB / 250.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01292, allocations: 0 / 247.8 MB, free: 13.86 MB / 250.7 MB Notification: Performance of Templates: time 0.003097/0.01601, allocations: 1.152 MB / 248.9 MB, free: 12.72 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.434621937572956]