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.001754/0.001754, allocations: 123.5 kB / 18.46 MB, free: 4.613 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.002013/0.002013, allocations: 192.3 kB / 21.4 MB, free: 1.68 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.423/1.423, allocations: 225.6 MB / 249.8 MB, free: 3.629 MB / 190.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.001514/0.001514, allocations: 52.06 kB / 366.8 MB, free: 368 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09009/0.0916, allocations: 52.14 MB / 419 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009118/0.1007, allocations: 8.366 MB / 427.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01356/0.1143, allocations: 11.32 MB / 438.6 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.1153, allocations: 55.56 kB / 438.7 MB, free: 8.301 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.1174, allocations: 0.8521 MB / 439.5 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003487/0.1209, allocations: 1.243 MB / 440.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.1227, allocations: 0.6973 MB / 441.5 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004131/0.1268, allocations: 2.693 MB / 444.2 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004085/0.1272, allocations: 233.8 kB / 444.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007006/0.1279, allocations: 0.5675 MB / 445 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007478/0.1287, allocations: 0.6172 MB / 445.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.1288, allocations: 68 kB / 445.7 MB, free: 1.277 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.1306, allocations: 0.7766 MB / 446.4 MB, free: 0.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002107/0.1308, allocations: 226.6 kB / 446.7 MB, free: 284 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1963/0.3271, allocations: 0.7594 MB / 447.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00266/0.3298, allocations: 2.127 MB / 449.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3298, allocations: 0.5156 kB / 449.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3298, allocations: 2.406 kB / 449.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.217e-05/0.3298, allocations: 0 / 449.5 MB, free: 11.7 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.003025/0.3328, allocations: 2.283 MB / 451.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3329, allocations: 15.22 kB / 451.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.3331, allocations: 230 kB / 452.1 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.3347, allocations: 1.314 MB / 453.4 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.3347, allocations: 42.12 kB / 453.4 MB, free: 9.711 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.3348, allocations: 59.88 kB / 453.5 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.3361, allocations: 0.6912 MB / 454.2 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.3361, allocations: 0 / 454.2 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.774e-05/0.3362, allocations: 23.91 kB / 454.2 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.3362, allocations: 15.61 kB / 454.2 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.3375, allocations: 0.5712 MB / 454.8 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003576/0.3411, allocations: 2.522 MB / 457.3 MB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.3422, allocations: 0.5696 MB / 457.9 MB, free: 8.809 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008158/0.3431, allocations: 490.2 kB / 458.4 MB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007379/0.3504, allocations: 7.493 MB / 465.8 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008256/0.3513, allocations: 382.5 kB / 466.2 MB, free: 2.738 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.845e-06/0.3513, allocations: 0 / 466.2 MB, free: 2.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005713/0.357, allocations: 2.065 MB / 468.3 MB, free: 2.371 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.357, allocations: 97.59 kB / 468.4 MB, free: 2.273 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.3586, allocations: 1.428 MB / 469.8 MB, free: 1.871 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.3586, allocations: 37.8 kB / 469.8 MB, free: 1.832 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004663/0.3591, allocations: 0.8078 MB / 470.7 MB, free: 1.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.3592, allocations: 233.6 kB / 470.9 MB, free: 1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.3594, allocations: 141.6 kB / 471 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.3594, allocations: 332.4 kB / 471.3 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005629/0.36, allocations: 259.3 kB / 471.6 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006285/0.3606, allocations: 458.7 kB / 472 MB, free: 212 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.362, allocations: 0.7354 MB / 472.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.362, allocations: 1.562 kB / 472.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00214/0.3642, allocations: 1.117 MB / 473.9 MB, free: 15.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.3642, allocations: 10.12 kB / 473.9 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/0.3643, allocations: 77.03 kB / 474 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.3655, allocations: 0.6994 MB / 474.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.3659, allocations: 114 kB / 474.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.3674, allocations: 1.126 MB / 475.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007146/0.3681, allocations: 87.03 kB / 476 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.3681, allocations: 34.98 kB / 476 MB, free: 14.36 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.0005239/0.3687, allocations: 293.7 kB / 476.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.3689, allocations: 209.3 kB / 476.5 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.3713, allocations: 1.056 MB / 477.6 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.3713, allocations: 5.938 kB / 477.6 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3713, allocations: 3.516 kB / 477.6 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3713, allocations: 7.594 kB / 477.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.3725, allocations: 0.9697 MB / 478.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.333e-05/0.3726, allocations: 70.86 kB / 478.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/0.3729, allocations: 63.31 kB / 478.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001166/0.3741, allocations: 0.6674 MB / 479.4 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.774e-05/0.3741, allocations: 22.55 kB / 479.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.3755, allocations: 1.1 MB / 480.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3755, allocations: 0 / 480.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.3781, allocations: 1.324 MB / 481.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000444/0.3785, allocations: 288.6 kB / 482.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.3787, allocations: 13 kB / 482.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000467/0.3791, allocations: 34.22 kB / 482.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.3793, allocations: 51 kB / 482.2 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.811e-05/0.3793, allocations: 22.94 kB / 482.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001189/0.3805, allocations: 0.9517 MB / 483.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3805, allocations: 0 / 483.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009558/0.3815, allocations: 437.8 kB / 483.6 MB, free: 10.85 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.0007382/0.3822, allocations: 484.2 kB / 484.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002451/0.3847, allocations: 0.8128 MB / 484.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3847, allocations: 0 / 484.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001675/0.3863, allocations: 487.6 kB / 485.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.3878, allocations: 216.2 kB / 485.6 MB, free: 9.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007704/0.3955, allocations: 3.125 MB / 488.7 MB, free: 8.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.3966, allocations: 1.22 MB / 489.9 MB, free: 7.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.3969, allocations: 79.5 kB / 490 MB, free: 7.359 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3969, allocations: 4 kB / 490 MB, free: 7.355 MB / 382.1 MB Notification: Performance of Templates: time 0.04831/0.4452, allocations: 25 MB / 0.5029 GB, free: 14.88 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkDifferentialPair/Spice3BenchmarkDifferentialPair.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.734474181896076]