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.001801/0.001801, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002064/0.002064, allocations: 206.6 kB / 24.47 MB, free: 3.977 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 2.23/2.23, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.002042/0.002042, allocations: 43.94 kB / 378.9 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2599, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003971/0.2638, allocations: 2.036 MB / 434.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004208/0.2643, allocations: 155.4 kB / 434.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.2644, allocations: 7.938 kB / 434.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.2645, allocations: 31.72 kB / 434.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.2647, allocations: 47.56 kB / 434.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.2648, allocations: 39.95 kB / 434.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.2651, allocations: 183.2 kB / 434.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.2653, allocations: 45.38 kB / 434.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.2654, allocations: 71.72 kB / 434.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.2655, allocations: 75.62 kB / 435 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.2656, allocations: 12 kB / 435 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.06e-05/0.2656, allocations: 20 kB / 435 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.2657, allocations: 27.92 kB / 435.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.2658, allocations: 71.66 kB / 435.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.2661, allocations: 178.9 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.399e-05/0.2661, allocations: 4 kB / 435.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2661, allocations: 0 / 435.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2661, allocations: 0 / 435.3 MB, free: 3.73 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.0007301/0.2668, allocations: 389.5 kB / 435.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2669, allocations: 12.03 kB / 435.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.2669, allocations: 24.8 kB / 435.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.2672, allocations: 158.3 kB / 435.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.2672, allocations: 12.16 kB / 435.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.627e-05/0.2673, allocations: 24.31 kB / 435.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.2677, allocations: 174.5 kB / 436.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.2677, allocations: 15.86 kB / 436.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.2677, allocations: 8 kB / 436.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.2677, allocations: 4 kB / 436.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.2679, allocations: 95.89 kB / 436.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.2694, allocations: 0.8414 MB / 437 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.2696, allocations: 103.8 kB / 437.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.134e-05/0.2696, allocations: 42.59 kB / 437.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.2696, allocations: 7.938 kB / 437.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.2697, allocations: 34.56 kB / 437.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.2697, allocations: 0 / 437.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003634/0.2701, allocations: 125.5 kB / 437.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.27e-05/0.2701, allocations: 110.8 kB / 437.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.2703, allocations: 174 kB / 437.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.2704, allocations: 29.7 kB / 437.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2705, allocations: 144.1 kB / 437.8 MB, free: 1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.867e-05/0.2705, allocations: 63.45 kB / 437.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.693e-05/0.2706, allocations: 41.95 kB / 437.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2708, allocations: 326.8 kB / 438.2 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-05/0.2709, allocations: 40.44 kB / 438.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.2711, allocations: 146.6 kB / 438.4 MB, free: 336 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.2714, allocations: 197.5 kB / 438.6 MB, free: 88 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2714, allocations: 4 kB / 438.6 MB, free: 84 kB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004268/0.2718, allocations: 209.2 kB / 438.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2718, allocations: 4 kB / 438.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2718, allocations: 4 kB / 438.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.2718, allocations: 8.406 kB / 438.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.2721, allocations: 47.92 kB / 438.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.2721, allocations: 15.92 kB / 438.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.2722, allocations: 19.84 kB / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.2722, allocations: 16 kB / 438.9 MB, free: 15.76 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.0001279/0.2724, allocations: 137.7 kB / 439 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/0.2725, allocations: 16.61 kB / 439.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.914e-05/0.2725, allocations: 16.34 kB / 439.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2725, allocations: 3.984 kB / 439.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.2725, allocations: 8 kB / 439.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.2725, allocations: 0 / 439.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.273, allocations: 173.2 kB / 439.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.273, allocations: 0 / 439.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.2732, allocations: 31.97 kB / 439.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.2732, allocations: 3.984 kB / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.2732, allocations: 4 kB / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2732, allocations: 0 / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2732, allocations: 3.938 kB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.2737, allocations: 381.9 kB / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/0.2737, allocations: 23.89 kB / 439.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.2737, allocations: 0 / 439.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.2739, allocations: 8 kB / 439.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.2739, allocations: 11.98 kB / 439.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.274, allocations: 0 / 439.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.2741, allocations: 120.1 kB / 439.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2741, allocations: 0 / 439.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005402/0.2746, allocations: 47.83 kB / 439.9 MB, free: 14.73 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.0001108/0.2747, allocations: 103.2 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.275, allocations: 108.5 kB / 440.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.275, allocations: 4.062 kB / 440.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.989e-05/0.2751, allocations: 35.92 kB / 440.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006558/0.2757, allocations: 34.03 kB / 440.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.277, allocations: 0.6225 MB / 440.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.2772, allocations: 116.1 kB / 440.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.335e-05/0.2773, allocations: 17.48 kB / 440.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.2773, allocations: 15.44 kB / 440.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2773, allocations: 0 / 440.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Templates: time 0.005233/0.2825, allocations: 1.398 MB / 442.3 MB, free: 12.24 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 -s cvode -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: 6.27734681199945]