Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.001069/0.001069, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00146/0.00253, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009487/0.0009487, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001281/0.002229, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8715/0.8715, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1378/1.009, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.7 MB " [Timeout remaining time 179] 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.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 239.7 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.473e-05, allocations: 2.312 kB / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.005507/0.005521, allocations: 7.812 MB / 247.6 MB, free: 14.51 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009366/0.01489, allocations: 10.75 MB / 258.3 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007472/0.01563, allocations: 87.06 kB / 258.4 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.01693, allocations: 0.8052 MB / 259.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.01905, allocations: 1.274 MB / 260.5 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.02027, allocations: 0.622 MB / 261.1 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.02255, allocations: 2.776 MB / 263.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003086/0.02286, allocations: 240.2 kB / 264.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.02401, allocations: 1.37 MB / 265.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004435/0.02445, allocations: 0.4905 MB / 266 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.754e-05/0.02454, allocations: 68 kB / 266 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.02564, allocations: 0.7912 MB / 266.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.02576, allocations: 174.8 kB / 267 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.02603, allocations: 390.8 kB / 267.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.02732, allocations: 1.486 MB / 268.9 MB, free: 9.062 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.02733, allocations: 0 / 268.9 MB, free: 9.062 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.02733, allocations: 0 / 268.9 MB, free: 9.062 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.792e-05/0.02736, allocations: 4 kB / 268.9 MB, free: 9.059 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001928/0.02929, allocations: 2.591 MB / 271.5 MB, free: 6.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.02932, allocations: 15.98 kB / 271.5 MB, free: 6.395 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.02948, allocations: 188.7 kB / 271.7 MB, free: 6.211 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000956/0.03044, allocations: 1.067 MB / 272.7 MB, free: 5.051 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.03047, allocations: 37.69 kB / 272.8 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/0.03053, allocations: 52.38 kB / 272.8 MB, free: 4.965 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/0.03103, allocations: 0.5269 MB / 273.3 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.03104, allocations: 0 / 273.3 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.03108, allocations: 20 kB / 273.4 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.03109, allocations: 27.92 kB / 273.4 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.03132, allocations: 181.2 kB / 273.6 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.03327, allocations: 1.568 MB / 275.1 MB, free: 2.531 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.03364, allocations: 359 kB / 275.5 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.03388, allocations: 282.3 kB / 275.8 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003551/0.03744, allocations: 3.048 MB / 278.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.03768, allocations: 227 kB / 279 MB, free: 14.6 MB / 282.7 MB Notification: Performance of pre-optimization done (n=67): time 2.234e-06/0.03768, allocations: 0 / 279 MB, free: 14.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=67): time 0.002242/0.03992, allocations: 1.347 MB / 280.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.03996, allocations: 67.78 kB / 280.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007563/0.04071, allocations: 1.309 MB / 281.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.04074, allocations: 37.69 kB / 281.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.04096, allocations: 473.5 kB / 282.3 MB, free: 11.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.0412, allocations: 230 kB / 282.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.04131, allocations: 134.5 kB / 282.6 MB, free: 10.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.48e-05/0.04139, allocations: 345.9 kB / 282.9 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.499e-05/0.04148, allocations: 77.97 kB / 283 MB, free: 10.51 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.04167, allocations: 315.9 kB / 283.3 MB, free: 10.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.042, allocations: 458.2 kB / 283.8 MB, free: 9.582 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.04201, allocations: 3.938 kB / 283.8 MB, free: 9.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005475/0.04255, allocations: 0.5986 MB / 284.4 MB, free: 8.977 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.04257, allocations: 8 kB / 284.4 MB, free: 8.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.77e-05/0.04262, allocations: 16.7 kB / 284.4 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005701/0.04319, allocations: 0.5402 MB / 284.9 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.04342, allocations: 127.8 kB / 285.1 MB, free: 8.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005278/0.04395, allocations: 0.7992 MB / 285.9 MB, free: 7.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.04419, allocations: 75.5 kB / 285.9 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.04423, allocations: 31.92 kB / 286 MB, free: 7.352 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 (VCC.counter,$PRE.VCC.counter,VEE.counter,$PRE.VEE.counter,VEE.counter2,$PRE.VEE.counter2,VEE.T0,$PRE.VEE.T0,VCC.counter2,$PRE.VCC.counter2,VCC.T0,$PRE.VCC.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {(5,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0001696/0.0444, allocations: 153.7 kB / 286.1 MB, free: 7.191 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.04451, allocations: 147.8 kB / 286.3 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006575/0.04516, allocations: 0.6096 MB / 286.9 MB, free: 6.426 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.04517, allocations: 8 kB / 286.9 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.04517, allocations: 0 / 286.9 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.04518, allocations: 3.984 kB / 286.9 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.04562, allocations: 0.5511 MB / 287.4 MB, free: 5.844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-05/0.04566, allocations: 12.06 kB / 287.5 MB, free: 5.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.04581, allocations: 63.83 kB / 287.5 MB, free: 5.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.04598, allocations: 182.5 kB / 287.7 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005176/0.0465, allocations: 0.5112 MB / 288.2 MB, free: 5.078 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.04652, allocations: 11.98 kB / 288.2 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004767/0.047, allocations: 0.7879 MB / 289 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.047, allocations: 4 kB / 289 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007397/0.04774, allocations: 0.6413 MB / 289.7 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.89e-05/0.04782, allocations: 12 kB / 289.7 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.048, allocations: 27.97 kB / 289.7 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.04808, allocations: 44.42 kB / 289.7 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.0481, allocations: 11.98 kB / 289.7 MB, free: 3.484 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003995/0.0485, allocations: 0.6705 MB / 290.4 MB, free: 2.789 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0485, allocations: 4 kB / 290.4 MB, free: 2.785 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005273/0.04903, allocations: 442.9 kB / 290.9 MB, free: 2.352 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {(5,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005714/0.0496, allocations: 0.5519 MB / 291.4 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005774/0.05018, allocations: 475.7 kB / 291.9 MB, free: 1.309 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.058e-05/0.0502, allocations: 24.47 kB / 291.9 MB, free: 1.285 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.05056, allocations: 323.1 kB / 292.2 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009696/0.05153, allocations: 1.573 MB / 293.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.05545, allocations: 2.499 MB / 296.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.05571, allocations: 244 kB / 296.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002568/0.05597, allocations: 162.1 kB / 296.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.0562, allocations: 245.3 kB / 296.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of SimCode: time 8.81e-07/0.0562, allocations: 0 / 296.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of Templates: time 0.02021/0.07642, allocations: 16.92 MB / 313.8 MB, free: 11.16 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkDifferentialPair/Spice3BenchmarkDifferentialPair.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.754633837379515]