Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.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.001776/0.001776, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002338/0.002338, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.123/2.123, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor") translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 51.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3507, allocations: 53.38 MB / 432.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.004312/0.355, allocations: 2.074 MB / 434.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.3563, allocations: 0.5882 MB / 435 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.3565, allocations: 4 kB / 435 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.3566, allocations: 23.78 kB / 435 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.3568, allocations: 51.61 kB / 435.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.3571, allocations: 51.83 kB / 435.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.3573, allocations: 159.2 kB / 435.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.3575, allocations: 45.31 kB / 435.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.3577, allocations: 67.78 kB / 435.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.3579, allocations: 59.7 kB / 435.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.3579, allocations: 16 kB / 435.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.434e-05/0.358, allocations: 27.98 kB / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.358, allocations: 35.86 kB / 435.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.552e-05/0.3581, allocations: 55.78 kB / 435.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.3584, allocations: 166.4 kB / 435.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3584, allocations: 0 / 435.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3584, allocations: 0 / 435.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.3584, allocations: 3.938 kB / 435.8 MB, free: 3.242 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006938/0.3591, allocations: 369.8 kB / 436.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3592, allocations: 11.97 kB / 436.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.3594, allocations: 28.83 kB / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.3597, allocations: 154.3 kB / 436.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3598, allocations: 12.61 kB / 436.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.3598, allocations: 8.375 kB / 436.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.3601, allocations: 153.5 kB / 436.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3601, allocations: 0 / 436.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.3601, allocations: 4 kB / 436.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3602, allocations: 4 kB / 436.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.3604, allocations: 80.66 kB / 436.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009719/0.3614, allocations: 443 kB / 437 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.3617, allocations: 82.5 kB / 437.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.3618, allocations: 28.97 kB / 437.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3619, allocations: 4 kB / 437.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.3619, allocations: 34.56 kB / 437.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.522e-06/0.3619, allocations: 0 / 437.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008367/0.3627, allocations: 174.3 kB / 437.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.3628, allocations: 51.41 kB / 437.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.363, allocations: 161.7 kB / 437.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.363, allocations: 29.7 kB / 437.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.3631, allocations: 128.1 kB / 437.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.3631, allocations: 23.78 kB / 437.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.3632, allocations: 21.72 kB / 437.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3633, allocations: 322.8 kB / 438 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.833e-05/0.3634, allocations: 19.98 kB / 438.1 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.3635, allocations: 54.5 kB / 438.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.3637, allocations: 66.55 kB / 438.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3637, allocations: 4 kB / 438.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003986/0.3641, allocations: 142.2 kB / 438.3 MB, free: 476 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3641, allocations: 8 kB / 438.3 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3641, allocations: 256 / 438.3 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/0.3643, allocations: 36.84 kB / 438.4 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.3644, allocations: 15.92 kB / 438.4 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.3663, allocations: 1.558 MB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.283e-05/0.3664, allocations: 8.031 kB / 439.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3664, allocations: 4 kB / 439.9 MB, free: 14.73 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 (5): * Single equations (assignments): 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.3666, allocations: 124.8 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.3666, allocations: 15.95 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.3666, allocations: 12.72 kB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3666, allocations: 0 / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3666, allocations: 3.984 kB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3666, allocations: 4 kB / 440.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.3669, allocations: 137.3 kB / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3669, allocations: 0 / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/0.3669, allocations: 8.109 kB / 440.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001621/0.3671, allocations: 36.84 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3671, allocations: 3.938 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.3688, allocations: 1.551 MB / 441.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3688, allocations: 0 / 441.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.3692, allocations: 216.2 kB / 442.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.3692, allocations: 11.89 kB / 442.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3692, allocations: 7.984 kB / 442.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.3694, allocations: 8.062 kB / 442.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.3694, allocations: 8.172 kB / 442.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.3694, allocations: 192 / 442.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.3696, allocations: 119.2 kB / 442.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3696, allocations: 0 / 442.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005176/0.3701, allocations: 43.89 kB / 442.2 MB, free: 12.27 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 (2): * Single equations (assignments): 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001121/0.3702, allocations: 95.19 kB / 442.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004752/0.3707, allocations: 186.6 kB / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3707, allocations: 0 / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.371, allocations: 162.6 kB / 442.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3713, allocations: 15.94 kB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006956/0.372, allocations: 299.4 kB / 443 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.3721, allocations: 94.27 kB / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.708e-05/0.3722, allocations: 4.438 kB / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.3722, allocations: 11.44 kB / 443.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3722, allocations: 0 / 443.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Templates: time 0.00627/0.3785, allocations: 1.617 MB / 444.7 MB, free: 9.75 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.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.4966927010100335]