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.001331/0.001331, allocations: 111.1 kB / 20.44 MB, free: 1.324 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.001509/0.001509, allocations: 205.9 kB / 23.73 MB, free: 4.492 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.478/1.478, allocations: 230.6 MB / 257.5 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.001787/0.001787, allocations: 44.06 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2617, allocations: 53.39 MB / 431.6 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003773/0.2655, allocations: 2.014 MB / 433.6 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004981/0.266, allocations: 167.4 kB / 433.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.2661, allocations: 4 kB / 433.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.2663, allocations: 27.66 kB / 433.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.2664, allocations: 47.56 kB / 433.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.2666, allocations: 39.94 kB / 433.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.2668, allocations: 183.2 kB / 434 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.267, allocations: 45.16 kB / 434.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.778e-05/0.2671, allocations: 67.78 kB / 434.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.2672, allocations: 59.64 kB / 434.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.2672, allocations: 16 kB / 434.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.053e-05/0.2673, allocations: 12 kB / 434.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.2673, allocations: 47.77 kB / 434.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.848e-05/0.2674, allocations: 63.67 kB / 434.4 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.2676, allocations: 197.6 kB / 434.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2677, allocations: 0 / 434.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.2677, allocations: 4 kB / 434.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2677, allocations: 0 / 434.6 MB, free: 3.832 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.0006249/0.2683, allocations: 385.6 kB / 434.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2683, allocations: 8.031 kB / 434.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.2684, allocations: 20.8 kB / 435 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.2687, allocations: 154 kB / 435.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.2687, allocations: 16.16 kB / 435.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.2687, allocations: 24.33 kB / 435.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.269, allocations: 182.4 kB / 435.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.269, allocations: 3.938 kB / 435.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.2691, allocations: 12 kB / 435.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.2691, allocations: 4 kB / 435.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.2693, allocations: 91.88 kB / 435.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.2706, allocations: 0.8569 MB / 436.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.2708, allocations: 91.75 kB / 436.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.112e-05/0.2709, allocations: 54.73 kB / 436.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.2709, allocations: 0 / 436.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/0.271, allocations: 34.56 kB / 436.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/0.271, allocations: 0 / 436.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003999/0.2714, allocations: 125.4 kB / 436.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.894e-05/0.2715, allocations: 110.8 kB / 436.7 MB, free: 1.473 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.2717, allocations: 170.1 kB / 436.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.2717, allocations: 29.7 kB / 436.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.2718, allocations: 144.1 kB / 437 MB, free: 1.117 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.2719, allocations: 59.52 kB / 437.1 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-05/0.272, allocations: 49.94 kB / 437.1 MB, free: 1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2721, allocations: 322.8 kB / 437.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-05/0.2722, allocations: 40.45 kB / 437.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.2724, allocations: 146.6 kB / 437.6 MB, free: 456 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.2727, allocations: 197.5 kB / 437.8 MB, free: 208 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2727, allocations: 0 / 437.8 MB, free: 208 kB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000358/0.273, allocations: 214.2 kB / 438 MB, free: 15.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.2731, allocations: 8 kB / 438 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.2731, allocations: 11.92 kB / 438.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.2731, allocations: 4 kB / 438.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.2733, allocations: 51.92 kB / 438.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.2733, allocations: 4 kB / 438.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.2734, allocations: 23.84 kB / 438.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.2734, allocations: 11.94 kB / 438.2 MB, free: 15.87 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.0001337/0.2735, allocations: 141.7 kB / 438.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.2736, allocations: 20.05 kB / 438.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.2737, allocations: 20.28 kB / 438.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.2737, allocations: 4 kB / 438.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2737, allocations: 0 / 438.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2737, allocations: 4 kB / 438.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.2741, allocations: 169.2 kB / 438.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.2741, allocations: 4 kB / 438.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.2742, allocations: 31.92 kB / 438.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2742, allocations: 0 / 438.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2742, allocations: 0 / 438.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2742, allocations: 4 kB / 438.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2742, allocations: 4 kB / 438.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.2746, allocations: 389.8 kB / 438.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.2746, allocations: 19.84 kB / 438.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.2746, allocations: 0 / 438.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.2748, allocations: 4.062 kB / 439 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.2748, allocations: 7.984 kB / 439 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.2748, allocations: 7.984 kB / 439 MB, free: 15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.809e-05/0.2749, allocations: 116.1 kB / 439.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2749, allocations: 0 / 439.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003709/0.2753, allocations: 43.89 kB / 439.1 MB, free: 14.84 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 0.0001129/0.2754, allocations: 111.2 kB / 439.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.2756, allocations: 99.78 kB / 439.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2756, allocations: 0 / 439.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.66e-05/0.2757, allocations: 35.92 kB / 439.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.2761, allocations: 24.8 kB / 439.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.2772, allocations: 0.6342 MB / 440 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.2773, allocations: 116.1 kB / 440.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.59e-05/0.2774, allocations: 9.484 kB / 440.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.2774, allocations: 15.44 kB / 440.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2774, allocations: 0 / 440.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of Templates: time 0.004274/0.2817, allocations: 1.346 MB / 441.5 MB, free: 12.41 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/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: 4.431455574929714]