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.001287/0.001287, allocations: 112 kB / 20.43 MB, free: 1.309 MB / 14.72 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.001627/0.001627, allocations: 188.8 kB / 23.72 MB, free: 4.555 MB / 14.72 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 1.452/1.452, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001629/0.001629, allocations: 51.92 kB / 370.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2487, allocations: 52.19 MB / 423.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003385/0.2521, allocations: 2.131 MB / 425.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003496/0.2524, allocations: 167.4 kB / 425.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.034e-05/0.2525, allocations: 7.938 kB / 425.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.2527, allocations: 27.72 kB / 425.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.623e-05/0.2528, allocations: 39.58 kB / 425.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.2529, allocations: 55.86 kB / 425.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.2532, allocations: 179.2 kB / 425.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.2533, allocations: 42.42 kB / 425.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.014e-05/0.2534, allocations: 71.77 kB / 425.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.2535, allocations: 67.64 kB / 425.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.2535, allocations: 16 kB / 425.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.398e-05/0.2536, allocations: 12 kB / 425.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.861e-05/0.2536, allocations: 35.84 kB / 425.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.438e-05/0.2537, allocations: 79.61 kB / 426 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.2539, allocations: 188.4 kB / 426.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.2539, allocations: 0 / 426.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.2539, allocations: 0 / 426.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2539, allocations: 0 / 426.2 MB, free: 11.57 MB / 334.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.0006009/0.2545, allocations: 401.5 kB / 426.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2546, allocations: 8.031 kB / 426.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.2546, allocations: 20.84 kB / 426.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.2549, allocations: 154.2 kB / 426.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.2549, allocations: 12.38 kB / 426.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.2549, allocations: 24.38 kB / 426.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.2552, allocations: 182.4 kB / 427 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.2552, allocations: 3.938 kB / 427 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.2553, allocations: 4 kB / 427 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.2553, allocations: 8 kB / 427 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.2554, allocations: 99.88 kB / 427.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.2567, allocations: 0.9187 MB / 428 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.2569, allocations: 103.7 kB / 428.1 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.071e-05/0.257, allocations: 42.75 kB / 428.2 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.257, allocations: 0 / 428.2 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.257, allocations: 42.5 kB / 428.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.257, allocations: 4 kB / 428.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003023/0.2573, allocations: 126 kB / 428.3 MB, free: 9.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.2574, allocations: 110.7 kB / 428.4 MB, free: 9.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.2576, allocations: 211.8 kB / 428.7 MB, free: 8.883 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.2576, allocations: 29.7 kB / 428.7 MB, free: 8.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.2577, allocations: 140.1 kB / 428.8 MB, free: 8.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.2577, allocations: 51.59 kB / 428.9 MB, free: 8.656 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.051e-05/0.2578, allocations: 45.94 kB / 428.9 MB, free: 8.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.258, allocations: 334.8 kB / 429.2 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.258, allocations: 36.45 kB / 429.3 MB, free: 8.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.2582, allocations: 143.8 kB / 429.4 MB, free: 8.043 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.2584, allocations: 193.5 kB / 429.6 MB, free: 7.805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.2584, allocations: 8 kB / 429.6 MB, free: 7.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003247/0.2588, allocations: 213.2 kB / 429.8 MB, free: 7.582 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2588, allocations: 8 kB / 429.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.2588, allocations: 4 kB / 429.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2588, allocations: 4.406 kB / 429.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.259, allocations: 51.92 kB / 429.9 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.259, allocations: 7.938 kB / 429.9 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.2591, allocations: 31.72 kB / 429.9 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.2591, allocations: 16 kB / 429.9 MB, free: 7.461 MB / 334.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.0001155/0.2592, allocations: 133.7 kB / 430.1 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-05/0.2593, allocations: 19.91 kB / 430.1 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.2593, allocations: 17.03 kB / 430.1 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2593, allocations: 4 kB / 430.1 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2594, allocations: 3.984 kB / 430.1 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2594, allocations: 7.938 kB / 430.1 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.2598, allocations: 208.6 kB / 430.3 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2598, allocations: 0 / 430.3 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.2599, allocations: 27.98 kB / 430.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.2599, allocations: 4 kB / 430.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.26, allocations: 7.984 kB / 430.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.26, allocations: 7.938 kB / 430.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.26, allocations: 0 / 430.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.2603, allocations: 389.2 kB / 430.8 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.2603, allocations: 23.81 kB / 430.8 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.2604, allocations: 8.062 kB / 430.8 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.2605, allocations: 0 / 430.8 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.2605, allocations: 15.86 kB / 430.8 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.2605, allocations: 8.125 kB / 430.8 MB, free: 6.523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.2607, allocations: 145.5 kB / 431 MB, free: 6.383 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2607, allocations: 4 kB / 431 MB, free: 6.379 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000367/0.261, allocations: 36 kB / 431 MB, free: 6.344 MB / 334.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 9.797e-05/0.2611, allocations: 99.25 kB / 431.1 MB, free: 6.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.2614, allocations: 107.7 kB / 431.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2614, allocations: 4.75 kB / 431.2 MB, free: 6.125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.407e-05/0.2614, allocations: 35.92 kB / 431.2 MB, free: 6.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.2619, allocations: 31.98 kB / 431.3 MB, free: 6.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.2629, allocations: 0.6301 MB / 431.9 MB, free: 5.398 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.2633, allocations: 0.7241 MB / 432.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.645e-05/0.2634, allocations: 17.95 kB / 432.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.2634, allocations: 19.44 kB / 432.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2634, allocations: 0 / 432.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of Templates: time 0.00455/0.268, allocations: 1.475 MB / 434.1 MB, free: 3.141 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.246956183575094]