Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.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.001337/0.001337, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001432/0.001432, allocations: 193 kB / 23.71 MB, free: 4.406 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.425/1.425, allocations: 225.7 MB / 252.5 MB, free: 12.79 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.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 55.91 kB / 370.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2619, allocations: 52.19 MB / 423.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003833/0.2658, allocations: 2.246 MB / 425.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.2669, allocations: 0.5493 MB / 425.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.267, allocations: 4 kB / 425.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.2672, allocations: 43.58 kB / 425.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.2674, allocations: 75.33 kB / 426 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.2676, allocations: 55.88 kB / 426 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.2679, allocations: 258.8 kB / 426.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.2681, allocations: 75.23 kB / 426.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.2683, allocations: 123.5 kB / 426.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.2684, allocations: 95.48 kB / 426.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.2685, allocations: 20 kB / 426.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.978e-05/0.2685, allocations: 24 kB / 426.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.2686, allocations: 47.83 kB / 426.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.2687, allocations: 103.5 kB / 426.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.269, allocations: 268.1 kB / 427 MB, free: 10.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.269, allocations: 0 / 427 MB, free: 10.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.269, allocations: 0 / 427 MB, free: 10.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.269, allocations: 0 / 427 MB, free: 10.46 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007802/0.2698, allocations: 469.5 kB / 427.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.2698, allocations: 8.031 kB / 427.5 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.2699, allocations: 28.75 kB / 427.5 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.2702, allocations: 178.9 kB / 427.7 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.2702, allocations: 16.81 kB / 427.7 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.306e-05/0.2703, allocations: 28.33 kB / 427.7 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.2707, allocations: 199.5 kB / 427.9 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2707, allocations: 4 kB / 427.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.2707, allocations: 8 kB / 428 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.2707, allocations: 8 kB / 428 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.271, allocations: 133.7 kB / 428.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009202/0.2719, allocations: 0.5057 MB / 428.6 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.2723, allocations: 158.5 kB / 428.7 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.2724, allocations: 88.81 kB / 428.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.2725, allocations: 8 kB / 428.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.2725, allocations: 38.5 kB / 428.9 MB, free: 8.492 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.2725, allocations: 0 / 428.9 MB, free: 8.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001977/0.2745, allocations: 0.9167 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.2745, allocations: 55.41 kB / 429.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.2747, allocations: 175.4 kB / 430 MB, free: 7.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.2747, allocations: 29.7 kB / 430.1 MB, free: 7.246 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.2748, allocations: 144.8 kB / 430.2 MB, free: 7.102 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.69e-05/0.2749, allocations: 115 kB / 430.3 MB, free: 6.988 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.379e-05/0.275, allocations: 57.64 kB / 430.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2752, allocations: 330.8 kB / 430.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.2753, allocations: 75.72 kB / 430.8 MB, free: 6.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.2755, allocations: 99.44 kB / 430.9 MB, free: 6.414 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.2759, allocations: 196.2 kB / 431 MB, free: 6.215 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2759, allocations: 4 kB / 431.1 MB, free: 6.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005471/0.2765, allocations: 298.8 kB / 431.3 MB, free: 5.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2765, allocations: 4 kB / 431.3 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2765, allocations: 4 kB / 431.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/0.2767, allocations: 40.84 kB / 431.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.2769, allocations: 55.91 kB / 431.4 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/0.2785, allocations: 1.615 MB / 433.1 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.2787, allocations: 8.031 kB / 433.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.2787, allocations: 11.98 kB / 433.1 MB, free: 4.07 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.2788, allocations: 151.8 kB / 433.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.2789, allocations: 19.92 kB / 433.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.369e-05/0.279, allocations: 34.59 kB / 433.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.279, allocations: 4 kB / 433.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.279, allocations: 0 / 433.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.279, allocations: 3.984 kB / 433.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.2801, allocations: 0.6642 MB / 434 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2801, allocations: 0 / 434 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.2804, allocations: 64 kB / 434 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/0.2805, allocations: 40.77 kB / 434.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.2805, allocations: 11.94 kB / 434.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.2818, allocations: 1.359 MB / 435.4 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.2818, allocations: 4.031 kB / 435.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007237/0.2825, allocations: 491.3 kB / 435.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.2826, allocations: 19.84 kB / 435.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.2826, allocations: 8 kB / 435.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.2827, allocations: 15.88 kB / 436 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.2828, allocations: 27.95 kB / 436 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.2828, allocations: 8 kB / 436 MB, free: 0.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.96e-05/0.2829, allocations: 119.2 kB / 436.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2829, allocations: 4 kB / 436.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003923/0.2833, allocations: 64 kB / 436.2 MB, free: 0.7734 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (29): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001339/0.2834, allocations: 107.2 kB / 436.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006208/0.2841, allocations: 322.7 kB / 436.6 MB, free: 340 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2841, allocations: 0 / 436.6 MB, free: 340 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003577/0.2844, allocations: 238.8 kB / 436.8 MB, free: 88 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.2848, allocations: 43.97 kB / 436.9 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.2863, allocations: 0.7259 MB / 437.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.2865, allocations: 146.5 kB / 437.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001282/0.2867, allocations: 26.28 kB / 437.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.2867, allocations: 19.44 kB / 437.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2867, allocations: 0 / 437.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of Templates: time 0.00719/0.2939, allocations: 2.962 MB / 440.7 MB, free: 12.15 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.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.399853214621544]