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.001415/0.001415, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001503/0.001503, allocations: 213.6 kB / 23.75 MB, free: 4.668 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.001733/0.001733, allocations: 44.02 kB / 378.2 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2693, allocations: 53.38 MB / 431.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003661/0.2729, allocations: 2.119 MB / 433.7 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003759/0.2733, allocations: 171.4 kB / 433.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.2734, allocations: 7.938 kB / 433.9 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.2736, allocations: 23.72 kB / 433.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.962e-05/0.2737, allocations: 51.58 kB / 434 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.2739, allocations: 51.8 kB / 434 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.2741, allocations: 175.2 kB / 434.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.2742, allocations: 38.42 kB / 434.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.554e-05/0.2743, allocations: 71.77 kB / 434.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.2745, allocations: 75.64 kB / 434.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.2745, allocations: 12 kB / 434.4 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.784e-05/0.2745, allocations: 12 kB / 434.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.72e-05/0.2746, allocations: 39.84 kB / 434.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.657e-05/0.2746, allocations: 79.61 kB / 434.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.2749, allocations: 184.4 kB / 434.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2749, allocations: 4 kB / 434.7 MB, free: 3.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2749, allocations: 0 / 434.7 MB, free: 3.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.2749, allocations: 0 / 434.7 MB, free: 3.789 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.0006734/0.2756, allocations: 389.5 kB / 435.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2756, allocations: 12.03 kB / 435.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.2757, allocations: 28.73 kB / 435.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.2759, allocations: 154.3 kB / 435.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.276, allocations: 16.16 kB / 435.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.276, allocations: 20.33 kB / 435.3 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.2763, allocations: 178.5 kB / 435.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.2763, allocations: 7.875 kB / 435.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.2764, allocations: 15.94 kB / 435.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.2764, allocations: 4 kB / 435.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.2766, allocations: 99.88 kB / 435.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.278, allocations: 0.9188 MB / 436.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.2781, allocations: 103.7 kB / 436.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.54e-05/0.2782, allocations: 42.69 kB / 436.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.2782, allocations: 4 kB / 436.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.2782, allocations: 34.56 kB / 436.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.2782, allocations: 0 / 436.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003133/0.2785, allocations: 129.5 kB / 436.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.305e-05/0.2786, allocations: 110.8 kB / 437 MB, free: 1.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.2788, allocations: 203.8 kB / 437.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.2789, allocations: 25.7 kB / 437.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.279, allocations: 152 kB / 437.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.279, allocations: 43.64 kB / 437.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.561e-05/0.2791, allocations: 49.89 kB / 437.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.2793, allocations: 330.8 kB / 437.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-05/0.2793, allocations: 36.45 kB / 437.8 MB, free: 468 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.2795, allocations: 146.6 kB / 437.9 MB, free: 272 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.2798, allocations: 201.5 kB / 438.1 MB, free: 20 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2798, allocations: 0 / 438.1 MB, free: 20 kB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003513/0.2801, allocations: 218.3 kB / 438.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2801, allocations: 8.094 kB / 438.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2801, allocations: 4 kB / 438.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.2802, allocations: 8 kB / 438.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.2803, allocations: 43.92 kB / 438.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.2803, allocations: 11.94 kB / 438.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.2805, allocations: 39.67 kB / 438.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.2805, allocations: 15.98 kB / 438.5 MB, free: 15.67 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.0001147/0.2806, allocations: 133.7 kB / 438.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.153e-05/0.2807, allocations: 23.91 kB / 438.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.2807, allocations: 17.03 kB / 438.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.2807, allocations: 3.984 kB / 438.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2807, allocations: 4 kB / 438.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.2807, allocations: 3.938 kB / 438.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.2812, allocations: 204.6 kB / 438.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2812, allocations: 7.875 kB / 438.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.2813, allocations: 27.98 kB / 438.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2813, allocations: 3.984 kB / 438.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.2813, allocations: 8 kB / 438.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.2813, allocations: 3.938 kB / 438.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2813, allocations: 4 kB / 438.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.2817, allocations: 384.4 kB / 439.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.2818, allocations: 15.89 kB / 439.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.2818, allocations: 4.062 kB / 439.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.2819, allocations: 4 kB / 439.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.282, allocations: 19.92 kB / 439.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.282, allocations: 0 / 439.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.2821, allocations: 157.4 kB / 439.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2821, allocations: 0 / 439.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003924/0.2825, allocations: 43.89 kB / 439.5 MB, free: 14.55 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.0001158/0.2826, allocations: 103.2 kB / 439.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.2828, allocations: 104.2 kB / 439.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2828, allocations: 4 kB / 439.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.362e-05/0.2829, allocations: 35.92 kB / 439.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.2834, allocations: 34.77 kB / 439.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.2845, allocations: 0.6268 MB / 440.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.2849, allocations: 0.7242 MB / 441.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.367e-05/0.285, allocations: 17.95 kB / 441.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.285, allocations: 15.44 kB / 441.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.285, allocations: 0 / 441.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of Templates: time 0.004801/0.2898, allocations: 1.484 MB / 442.7 MB, free: 11.35 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.524896167917177]