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.001316/0.001316, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001348/0.001348, allocations: 187.5 kB / 24.46 MB, free: 3.863 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.396/1.396, allocations: 225.7 MB / 253.3 MB, free: 12.86 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.001593/0.001593, allocations: 51.91 kB / 371.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2246, allocations: 52.18 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008631/0.2332, allocations: 7.148 MB / 431 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.2466, allocations: 9.802 MB / 440.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.2479, allocations: 87.12 kB / 440.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.25, allocations: 0.768 MB / 441.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003959/0.254, allocations: 1.256 MB / 442.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.2561, allocations: 0.7031 MB / 443.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004362/0.2604, allocations: 2.695 MB / 446.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004391/0.2609, allocations: 218.2 kB / 446.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008277/0.2617, allocations: 0.5832 MB / 447.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007527/0.2625, allocations: 0.5859 MB / 447.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.2626, allocations: 68 kB / 447.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.2643, allocations: 0.6908 MB / 448.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.2645, allocations: 218.6 kB / 448.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006006/0.2651, allocations: 0.5823 MB / 449.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002697/0.2678, allocations: 2.143 MB / 451.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2678, allocations: 0 / 451.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2678, allocations: 4 kB / 451.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.217e-05/0.2678, allocations: 3.938 kB / 451.4 MB, free: 2.805 MB / 350.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.003579/0.2714, allocations: 2.209 MB / 453.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2715, allocations: 8.031 kB / 453.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.2717, allocations: 231.5 kB / 453.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.2738, allocations: 1.215 MB / 455 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.2738, allocations: 53.19 kB / 455.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.274, allocations: 59.95 kB / 455.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.2753, allocations: 0.7151 MB / 455.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.2754, allocations: 3.984 kB / 455.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.253e-05/0.2754, allocations: 27.98 kB / 455.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.2754, allocations: 16 kB / 455.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.2768, allocations: 0.5712 MB / 456.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003764/0.2806, allocations: 2.238 MB / 458.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.2818, allocations: 0.5788 MB / 459.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009063/0.2827, allocations: 494.1 kB / 459.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00722/0.29, allocations: 2.908 MB / 462.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008547/0.2908, allocations: 386.5 kB / 463.1 MB, free: 6.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 4.638e-06/0.2908, allocations: 3.984 kB / 463.1 MB, free: 6.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.006011/0.2968, allocations: 1.973 MB / 465 MB, free: 4.828 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.2969, allocations: 93.53 kB / 465.1 MB, free: 4.719 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.2987, allocations: 1.443 MB / 466.6 MB, free: 3.238 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.689e-05/0.2988, allocations: 37.7 kB / 466.6 MB, free: 3.195 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007738/0.2996, allocations: 0.7945 MB / 467.4 MB, free: 2.395 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.2998, allocations: 238 kB / 467.6 MB, free: 2.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.3, allocations: 138.6 kB / 467.8 MB, free: 2.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3002, allocations: 333.9 kB / 468.1 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006391/0.3008, allocations: 253.8 kB / 468.3 MB, free: 1.438 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008223/0.3016, allocations: 483.9 kB / 468.8 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.3031, allocations: 0.7286 MB / 469.5 MB, free: 64 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3031, allocations: 0 / 469.5 MB, free: 64 kB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002264/0.3054, allocations: 1.117 MB / 470.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3054, allocations: 8 kB / 470.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/0.3055, allocations: 83.98 kB / 470.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.3068, allocations: 0.6912 MB / 471.4 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/0.3073, allocations: 111.8 kB / 471.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.3087, allocations: 1.128 MB / 472.7 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007377/0.3095, allocations: 91.53 kB / 472.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.044e-05/0.3096, allocations: 36 kB / 472.8 MB, free: 12.77 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.0005384/0.3101, allocations: 285.7 kB / 473.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.3104, allocations: 206.7 kB / 473.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.3128, allocations: 1.066 MB / 474.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.3128, allocations: 12 kB / 474.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3128, allocations: 0 / 474.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.3128, allocations: 3.938 kB / 474.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.314, allocations: 0.8022 MB / 475.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001025/0.3141, allocations: 64 kB / 475.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.3145, allocations: 59.88 kB / 475.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.3156, allocations: 0.6593 MB / 475.9 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/0.3157, allocations: 16 kB / 476 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.3171, allocations: 1.1 MB / 477.1 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3171, allocations: 0 / 477.1 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002711/0.3198, allocations: 1.326 MB / 478.4 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005026/0.3203, allocations: 222.6 kB / 478.6 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.3204, allocations: 11.94 kB / 478.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004731/0.3209, allocations: 35.95 kB / 478.7 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.321, allocations: 52.3 kB / 478.7 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/0.3211, allocations: 20 kB / 478.7 MB, free: 6.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001284/0.3224, allocations: 0.9449 MB / 479.7 MB, free: 5.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3224, allocations: 0 / 479.7 MB, free: 5.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009121/0.3233, allocations: 442.9 kB / 480.1 MB, free: 5.336 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.0007825/0.3241, allocations: 475.5 kB / 480.6 MB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002006/0.3261, allocations: 0.8195 MB / 481.4 MB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.3261, allocations: 4 kB / 481.4 MB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.3273, allocations: 489.9 kB / 481.9 MB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008885/0.3281, allocations: 207 kB / 482.1 MB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00531/0.3335, allocations: 3.109 MB / 485.2 MB, free: 172 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/0.3341, allocations: 0.6377 MB / 485.8 MB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.3343, allocations: 83.36 kB / 485.9 MB, free: 15.41 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3343, allocations: 0 / 485.9 MB, free: 15.41 MB / 398.1 MB Notification: Performance of Templates: time 0.03423/0.3685, allocations: 25.82 MB / 0.4997 GB, free: 5.59 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.346129149198532]