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.001779/0.001779, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002151/0.002151, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.489/1.489, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001609/0.001609, allocations: 43.94 kB / 378.9 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2562, allocations: 53.38 MB / 432.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003255/0.2595, allocations: 2.01 MB / 434.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003837/0.2598, allocations: 175.3 kB / 434.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.857e-05/0.2599, allocations: 4 kB / 434.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.2601, allocations: 27.66 kB / 434.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.454e-05/0.2602, allocations: 47.58 kB / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.2603, allocations: 43.94 kB / 434.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.2605, allocations: 179.2 kB / 434.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.2607, allocations: 41.36 kB / 434.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.896e-05/0.2608, allocations: 67.78 kB / 434.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.2609, allocations: 67.64 kB / 435 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.2609, allocations: 12 kB / 435 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.028e-05/0.261, allocations: 12 kB / 435 MB, free: 4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.927e-05/0.261, allocations: 39.84 kB / 435 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.914e-05/0.2611, allocations: 71.66 kB / 435.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.2613, allocations: 182.8 kB / 435.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2613, allocations: 4 kB / 435.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2613, allocations: 0 / 435.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2613, allocations: 0 / 435.3 MB, free: 3.711 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.0006331/0.262, allocations: 389.6 kB / 435.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.262, allocations: 12.02 kB / 435.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.262, allocations: 20.8 kB / 435.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.2623, allocations: 162.2 kB / 435.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.2623, allocations: 16.16 kB / 435.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.2624, allocations: 24.33 kB / 435.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.2627, allocations: 182.4 kB / 436.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.2627, allocations: 3.938 kB / 436.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.2627, allocations: 8 kB / 436.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.2627, allocations: 4 kB / 436.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.2629, allocations: 99.88 kB / 436.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.2641, allocations: 0.8452 MB / 437 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.2643, allocations: 103.8 kB / 437.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.164e-05/0.2644, allocations: 38.75 kB / 437.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.2644, allocations: 0 / 437.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.2644, allocations: 38.56 kB / 437.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.2644, allocations: 0 / 437.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.000309/0.2647, allocations: 126 kB / 437.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.2648, allocations: 106.8 kB / 437.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.2649, allocations: 174.1 kB / 437.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.2649, allocations: 25.7 kB / 437.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.2651, allocations: 148.1 kB / 437.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.2651, allocations: 55.53 kB / 437.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/0.2652, allocations: 45.94 kB / 437.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2653, allocations: 330.8 kB / 438.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.224e-05/0.2654, allocations: 40.39 kB / 438.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.2656, allocations: 142.6 kB / 438.4 MB, free: 324 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.2658, allocations: 201.6 kB / 438.6 MB, free: 72 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2658, allocations: 0 / 438.6 MB, free: 72 kB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003448/0.2662, allocations: 217.4 kB / 438.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2662, allocations: 8 kB / 438.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2662, allocations: 4 kB / 438.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.2662, allocations: 4 kB / 438.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.2664, allocations: 51.91 kB / 438.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.2664, allocations: 4 kB / 438.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.2665, allocations: 23.84 kB / 438.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.2665, allocations: 8 kB / 438.9 MB, free: 15.75 MB / 350.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.0001179/0.2666, allocations: 146 kB / 439 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.865e-05/0.2667, allocations: 19.84 kB / 439.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.587e-05/0.2667, allocations: 20.33 kB / 439.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2667, allocations: 0 / 439.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.2667, allocations: 0 / 439.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2668, allocations: 4 kB / 439.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.2671, allocations: 177.2 kB / 439.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.2671, allocations: 0 / 439.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.2673, allocations: 31.92 kB / 439.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2673, allocations: 0 / 439.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.2673, allocations: 8 kB / 439.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2673, allocations: 4 kB / 439.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2673, allocations: 0 / 439.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.2677, allocations: 385.7 kB / 439.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/0.2677, allocations: 19.84 kB / 439.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.2677, allocations: 4.062 kB / 439.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.2679, allocations: 4 kB / 439.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.2679, allocations: 3.984 kB / 439.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.2679, allocations: 8.141 kB / 439.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.533e-05/0.268, allocations: 120.1 kB / 439.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.268, allocations: 0 / 439.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003894/0.2684, allocations: 51.83 kB / 439.9 MB, free: 14.7 MB / 350.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.963e-05/0.2685, allocations: 103.2 kB / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.2687, allocations: 103.8 kB / 440.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2687, allocations: 0 / 440.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.473e-05/0.2687, allocations: 36.73 kB / 440.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.2692, allocations: 30.61 kB / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.2703, allocations: 0.6475 MB / 440.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.2704, allocations: 116.1 kB / 440.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.2704, allocations: 19.44 kB / 440.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2704, allocations: 0 / 440.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of Templates: time 0.003837/0.2743, allocations: 1.96 MB / 442.9 MB, free: 11.63 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.06566129764542]