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.00154/0.00154, allocations: 108.8 kB / 21.18 MB, free: 0.7617 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.00167/0.00167, allocations: 189.2 kB / 24.47 MB, free: 4.168 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.421/1.421, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.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 0.00153/0.00153, allocations: 47.92 kB / 371.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2307, allocations: 52.18 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009163/0.2399, allocations: 8.367 MB / 432.3 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.2535, allocations: 11.35 MB / 443.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.2547, allocations: 87.06 kB / 443.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.2567, allocations: 0.8562 MB / 444.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003453/0.2602, allocations: 1.241 MB / 445.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.262, allocations: 0.7034 MB / 446.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003981/0.2659, allocations: 2.711 MB / 449.2 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003884/0.2663, allocations: 234.2 kB / 449.4 MB, free: 5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006927/0.267, allocations: 0.5716 MB / 450 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000754/0.2678, allocations: 0.625 MB / 450.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.2679, allocations: 71.98 kB / 450.7 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.2695, allocations: 0.7766 MB / 451.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.2697, allocations: 222.6 kB / 451.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006889/0.2704, allocations: 0.7608 MB / 452.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002502/0.2729, allocations: 2.131 MB / 454.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2729, allocations: 0 / 454.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2729, allocations: 0 / 454.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.559e-05/0.2729, allocations: 0 / 454.6 MB, free: 15.82 MB / 366.1 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.00346/0.2764, allocations: 2.217 MB / 456.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2764, allocations: 12.03 kB / 456.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.2767, allocations: 231.5 kB / 457 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.2787, allocations: 1.219 MB / 458.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.2787, allocations: 45.25 kB / 458.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.2788, allocations: 55.95 kB / 458.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.2801, allocations: 0.6978 MB / 459 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.2801, allocations: 0 / 459 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/0.2802, allocations: 20 kB / 459.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.2802, allocations: 23.98 kB / 459.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.2815, allocations: 0.5673 MB / 459.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003775/0.2853, allocations: 2.467 MB / 462.1 MB, free: 8.008 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.2865, allocations: 0.576 MB / 462.7 MB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008738/0.2874, allocations: 494.2 kB / 463.2 MB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007423/0.2948, allocations: 2.98 MB / 466.2 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008415/0.2957, allocations: 386.5 kB / 466.5 MB, free: 3.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 4.408e-06/0.2957, allocations: 4 kB / 466.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005978/0.3016, allocations: 1.973 MB / 468.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.3017, allocations: 93.45 kB / 468.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/0.3035, allocations: 1.443 MB / 470.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.3035, allocations: 33.7 kB / 470.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007394/0.3043, allocations: 0.8101 MB / 470.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.3045, allocations: 233.9 kB / 471.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.3047, allocations: 138.6 kB / 471.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3049, allocations: 338 kB / 471.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006137/0.3055, allocations: 249.8 kB / 471.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007587/0.3062, allocations: 454.2 kB / 472.3 MB, free: 13.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.3076, allocations: 0.7363 MB / 473 MB, free: 12.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3076, allocations: 0 / 473 MB, free: 12.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002106/0.3097, allocations: 1.113 MB / 474.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.3098, allocations: 8 kB / 474.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/0.3099, allocations: 71.98 kB / 474.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.3111, allocations: 0.6995 MB / 474.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.3116, allocations: 115.8 kB / 475 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.313, allocations: 1.128 MB / 476.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006572/0.3137, allocations: 91.47 kB / 476.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/0.3137, allocations: 44 kB / 476.3 MB, free: 9.508 MB / 382.1 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.0004777/0.3142, allocations: 281.7 kB / 476.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.3144, allocations: 214.7 kB / 476.8 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.3167, allocations: 1.062 MB / 477.8 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3167, allocations: 4 kB / 477.8 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3167, allocations: 7.938 kB / 477.8 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.3167, allocations: 3.984 kB / 477.8 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.3179, allocations: 0.936 MB / 478.8 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000105/0.318, allocations: 71.98 kB / 478.8 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.3183, allocations: 60.06 kB / 478.9 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001134/0.3195, allocations: 0.6672 MB / 479.6 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/0.3195, allocations: 27.98 kB / 479.6 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.3208, allocations: 1.096 MB / 480.7 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3208, allocations: 0 / 480.7 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.3235, allocations: 1.33 MB / 482 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004464/0.3239, allocations: 210.6 kB / 482.2 MB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.3241, allocations: 15.94 kB / 482.2 MB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/0.3245, allocations: 40.05 kB / 482.3 MB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.3246, allocations: 52.34 kB / 482.3 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-05/0.3247, allocations: 27.98 kB / 482.4 MB, free: 3.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001271/0.326, allocations: 0.9449 MB / 483.3 MB, free: 2.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.326, allocations: 0 / 483.3 MB, free: 2.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009216/0.3269, allocations: 431 kB / 483.7 MB, free: 1.91 MB / 382.1 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.0007955/0.3277, allocations: 491.4 kB / 484.2 MB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.3297, allocations: 0.8079 MB / 485 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3297, allocations: 0 / 485 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.3308, allocations: 0.4901 MB / 485.5 MB, free: 96 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009247/0.3318, allocations: 209.5 kB / 485.7 MB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005452/0.3372, allocations: 3.121 MB / 488.8 MB, free: 12.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008246/0.338, allocations: 1.22 MB / 490.1 MB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.3382, allocations: 79.44 kB / 490.1 MB, free: 11.39 MB / 398.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3382, allocations: 0 / 490.1 MB, free: 11.39 MB / 398.1 MB Notification: Performance of Templates: time 0.03448/0.3727, allocations: 25 MB / 0.5031 GB, free: 2.398 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkDifferentialPair/Spice3BenchmarkDifferentialPair.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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: 8.499035158893093]