Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.001246/0.001246, allocations: 116 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.001465/0.001465, allocations: 209.3 kB / 23.74 MB, free: 4.672 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 51.92 kB / 378.3 MB, free: 2.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2512, allocations: 53.36 MB / 431.6 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004408/0.2556, allocations: 3.048 MB / 434.7 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.2569, allocations: 0.7634 MB / 435.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.2571, allocations: 7.938 kB / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.2573, allocations: 55.42 kB / 435.5 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.2575, allocations: 107.1 kB / 435.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.2578, allocations: 99.84 kB / 435.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004821/0.2583, allocations: 418.1 kB / 436.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.2585, allocations: 78.12 kB / 436.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002881/0.2588, allocations: 155.5 kB / 436.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.259, allocations: 167.3 kB / 436.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.17e-05/0.259, allocations: 32 kB / 436.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-05/0.2591, allocations: 44 kB / 436.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.741e-05/0.2592, allocations: 79.62 kB / 436.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.2594, allocations: 167.2 kB / 436.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004757/0.2598, allocations: 398 kB / 437.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2599, allocations: 0 / 437.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2599, allocations: 0 / 437.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2599, allocations: 0 / 437.2 MB, free: 1.293 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001035/0.2609, allocations: 0.5676 MB / 437.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2609, allocations: 12.03 kB / 437.8 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.2611, allocations: 48.69 kB / 437.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.2616, allocations: 237.8 kB / 438.1 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.2616, allocations: 21.03 kB / 438.1 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/0.2616, allocations: 24.38 kB / 438.1 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.2621, allocations: 258.4 kB / 438.4 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2621, allocations: 0 / 438.4 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.2622, allocations: 16 kB / 438.4 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.2622, allocations: 8 kB / 438.4 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005181/0.2627, allocations: 222.5 kB / 438.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.2645, allocations: 0.9259 MB / 439.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.265, allocations: 198.6 kB / 439.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.2652, allocations: 100.8 kB / 439.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.2653, allocations: 0 / 439.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.2653, allocations: 46.56 kB / 439.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.102e-06/0.2653, allocations: 0 / 439.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001374/0.2667, allocations: 417 kB / 440.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.2667, allocations: 51.41 kB / 440.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.267, allocations: 269.8 kB / 440.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.2671, allocations: 29.7 kB / 440.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.2672, allocations: 184.2 kB / 440.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.2673, allocations: 67.39 kB / 440.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-05/0.2673, allocations: 49.89 kB / 440.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2675, allocations: 338.8 kB / 441.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.2677, allocations: 76.42 kB / 441.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.2679, allocations: 107.4 kB / 441.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.2683, allocations: 186.5 kB / 441.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2683, allocations: 0 / 441.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006548/0.269, allocations: 326.9 kB / 441.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.269, allocations: 7.938 kB / 441.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.269, allocations: 0 / 441.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002898/0.2693, allocations: 69.67 kB / 442 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.2695, allocations: 43.91 kB / 442.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/0.2721, allocations: 2.845 MB / 444.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.2723, allocations: 31.97 kB / 444.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.2723, allocations: 7.984 kB / 444.9 MB, free: 9.105 MB / 350.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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001529/0.2725, allocations: 142 kB / 445.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.2725, allocations: 35.75 kB / 445.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.2726, allocations: 26.27 kB / 445.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2726, allocations: 7.938 kB / 445.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2726, allocations: 0 / 445.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2726, allocations: 7.984 kB / 445.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.2737, allocations: 0.6416 MB / 445.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2737, allocations: 192 / 445.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.2738, allocations: 39.91 kB / 445.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/0.274, allocations: 73.67 kB / 445.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.274, allocations: 0 / 445.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/0.2765, allocations: 2.841 MB / 448.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2765, allocations: 0 / 448.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006596/0.2772, allocations: 383.8 kB / 449.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.2772, allocations: 27.75 kB / 449.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.2772, allocations: 8 kB / 449.2 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.2775, allocations: 31.97 kB / 449.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/0.2776, allocations: 23.95 kB / 449.2 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.2776, allocations: 4 kB / 449.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002174/0.2778, allocations: 189.2 kB / 449.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2778, allocations: 0 / 449.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004034/0.2782, allocations: 95.89 kB / 449.5 MB, free: 4.219 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001322/0.2783, allocations: 111.2 kB / 449.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008259/0.2792, allocations: 433 kB / 450 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2792, allocations: 3.938 kB / 450 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004647/0.2796, allocations: 349.3 kB / 450.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.28, allocations: 44.55 kB / 450.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009112/0.2809, allocations: 0.4998 MB / 450.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.2813, allocations: 0.7639 MB / 451.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.2814, allocations: 26.27 kB / 451.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.2815, allocations: 19.44 kB / 451.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2815, allocations: 0 / 451.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of Templates: time 0.009154/0.2907, allocations: 3.907 MB / 455.6 MB, free: 14.01 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.6663764792028815]