Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.001009/0.001009, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001409/0.002418, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009739/0.0009739, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001285/0.002259, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8714/0.8714, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.136/1.007, allocations: 49.48 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.461e-05, allocations: 10.25 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007606/0.007631, allocations: 7.65 MB / 229.5 MB, free: 8.473 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.01858, allocations: 10.42 MB / 239.9 MB, free: 14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.01983, allocations: 87.06 kB / 240 MB, free: 13.92 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.02131, allocations: 0.7817 MB / 240.8 MB, free: 13.13 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.02369, allocations: 1.262 MB / 242 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.02487, allocations: 0.6103 MB / 242.7 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0027/0.02757, allocations: 2.741 MB / 245.4 MB, free: 8.492 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.02792, allocations: 240.2 kB / 245.6 MB, free: 8.23 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.02949, allocations: 1.342 MB / 247 MB, free: 6.836 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005772/0.03006, allocations: 478.4 kB / 247.4 MB, free: 6.367 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.524e-05/0.03016, allocations: 71.94 kB / 247.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.0313, allocations: 0.7601 MB / 248.3 MB, free: 5.535 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.03143, allocations: 174.8 kB / 248.4 MB, free: 5.363 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003682/0.0318, allocations: 398.8 kB / 248.8 MB, free: 4.973 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.03335, allocations: 1.483 MB / 250.3 MB, free: 3.484 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.508e-05/0.03337, allocations: 7.984 kB / 250.3 MB, free: 3.477 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.03337, allocations: 0 / 250.3 MB, free: 3.477 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.348e-05/0.0334, allocations: 0 / 250.3 MB, free: 3.477 MB / 250.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.002349/0.03575, allocations: 2.587 MB / 252.9 MB, free: 0.832 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.03578, allocations: 19.95 kB / 252.9 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002555/0.03604, allocations: 180.7 kB / 253.1 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.03733, allocations: 1.063 MB / 254.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.03736, allocations: 45.44 kB / 254.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.03742, allocations: 67.84 kB / 254.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/0.03793, allocations: 0.5153 MB / 254.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.03794, allocations: 0 / 254.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.03797, allocations: 24 kB / 254.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.03799, allocations: 20 kB / 254.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.03822, allocations: 193.2 kB / 255 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.03993, allocations: 1.56 MB / 256.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.04021, allocations: 350.5 kB / 256.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.04043, allocations: 278.3 kB / 257.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003549/0.04398, allocations: 3.032 MB / 260.2 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000468/0.04445, allocations: 227 kB / 260.5 MB, free: 9.035 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 2.384e-06/0.04445, allocations: 7.984 kB / 260.5 MB, free: 9.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.002255/0.0467, allocations: 1.355 MB / 261.8 MB, free: 7.668 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.04674, allocations: 63.84 kB / 261.9 MB, free: 7.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007049/0.04745, allocations: 1.301 MB / 263.2 MB, free: 6.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.04748, allocations: 37.7 kB / 263.2 MB, free: 6.207 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.04771, allocations: 477.4 kB / 263.7 MB, free: 5.727 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.04782, allocations: 241.9 kB / 263.9 MB, free: 5.488 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.04793, allocations: 126.5 kB / 264 MB, free: 5.359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.525e-05/0.04801, allocations: 337.9 kB / 264.4 MB, free: 5.023 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.999e-05/0.0481, allocations: 77.97 kB / 264.5 MB, free: 4.949 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.04829, allocations: 315.9 kB / 264.8 MB, free: 4.551 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.04862, allocations: 446.2 kB / 265.2 MB, free: 4.035 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.04862, allocations: 4 kB / 265.2 MB, free: 4.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005674/0.04919, allocations: 0.6027 MB / 265.8 MB, free: 3.418 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.04921, allocations: 8 kB / 265.8 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.374e-05/0.04925, allocations: 8 kB / 265.8 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005965/0.04985, allocations: 0.541 MB / 266.4 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.05008, allocations: 127.8 kB / 266.5 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005229/0.05061, allocations: 0.8069 MB / 267.3 MB, free: 1.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.05095, allocations: 83.44 kB / 267.4 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.05099, allocations: 24 kB / 267.4 MB, free: 1.797 MB / 266.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.0001707/0.05116, allocations: 153.7 kB / 267.5 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.05126, allocations: 147.8 kB / 267.7 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006891/0.05195, allocations: 0.6136 MB / 268.3 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.05196, allocations: 4 kB / 268.3 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.05196, allocations: 0 / 268.3 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.05197, allocations: 7.922 kB / 268.3 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.05243, allocations: 0.5589 MB / 268.9 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.569e-05/0.05246, allocations: 8 kB / 268.9 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.05261, allocations: 55.89 kB / 268.9 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.05279, allocations: 182.6 kB / 269.1 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005295/0.05332, allocations: 0.5213 MB / 269.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.05334, allocations: 7.984 kB / 269.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000519/0.05386, allocations: 0.796 MB / 270.4 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.05386, allocations: 3.938 kB / 270.4 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006032/0.05447, allocations: 0.6329 MB / 271.1 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-05/0.05455, allocations: 12 kB / 271.1 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.05474, allocations: 19.98 kB / 271.1 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.05481, allocations: 48.41 kB / 271.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.05484, allocations: 8 kB / 271.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003865/0.05522, allocations: 0.6744 MB / 271.8 MB, free: 13.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05522, allocations: 0 / 271.8 MB, free: 13.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005187/0.05574, allocations: 450.9 kB / 272.3 MB, free: 12.79 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.0005581/0.0563, allocations: 0.548 MB / 272.8 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005808/0.05688, allocations: 473.9 kB / 273.3 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.358e-05/0.0569, allocations: 27.97 kB / 273.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003403/0.05724, allocations: 308.2 kB / 273.6 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.0577, allocations: 319 kB / 273.9 MB, free: 11.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003913/0.06162, allocations: 2.507 MB / 276.4 MB, free: 8.539 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.06175, allocations: 239.9 kB / 276.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002554/0.06201, allocations: 158.1 kB / 276.8 MB, free: 8.125 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.06223, allocations: 237.3 kB / 277.1 MB, free: 7.891 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.06223, allocations: 0 / 277.1 MB, free: 7.891 MB / 282.7 MB Notification: Performance of Templates: time 0.1093/0.1715, allocations: 16.9 MB / 293.9 MB, free: 43.6 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkDifferentialPair/Spice3BenchmarkDifferentialPair.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.019888167269528]