Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008055/0.0008055, allocations: 183.1 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 225.7 MB / 243.2 MB, free: 8.52 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008882/0.0008882, allocations: 95.28 kB / 294.4 MB, free: 9.535 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.0003049, allocations: 7.938 kB / 354.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1821, allocations: 50.43 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.004506/0.1867, allocations: 7.296 MB / 411.9 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008803/0.1955, allocations: 11.72 MB / 423.6 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.1966, allocations: 15.94 kB / 423.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.1984, allocations: 0.769 MB / 424.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.2013, allocations: 0.9914 MB / 425.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.2026, allocations: 0.5114 MB / 425.9 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002795/0.2054, allocations: 2.533 MB / 428.4 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003762/0.2058, allocations: 318.6 kB / 428.7 MB, free: 6.891 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004992/0.2063, allocations: 0.5012 MB / 429.2 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004418/0.2068, allocations: 0.5938 MB / 429.8 MB, free: 5.789 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.682e-05/0.2068, allocations: 36 kB / 429.9 MB, free: 5.754 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.2082, allocations: 0.7023 MB / 430.6 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.2084, allocations: 182.7 kB / 430.7 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000444/0.2088, allocations: 0.7585 MB / 431.5 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.2105, allocations: 2.019 MB / 433.5 MB, free: 2.074 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.2105, allocations: 8 kB / 433.5 MB, free: 2.066 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2105, allocations: 4 kB / 433.5 MB, free: 2.062 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.2105, allocations: 0 / 433.5 MB, free: 2.062 MB / 298.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.00228/0.2128, allocations: 1.979 MB / 435.5 MB, free: 24 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.2128, allocations: 15.97 kB / 435.5 MB, free: 8 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.2131, allocations: 214.6 kB / 435.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.2146, allocations: 1.309 MB / 437 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/0.2147, allocations: 45.25 kB / 437.1 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.939e-05/0.2148, allocations: 55.91 kB / 437.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.216, allocations: 0.7134 MB / 437.8 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.216, allocations: 0 / 437.8 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.509e-05/0.2161, allocations: 20 kB / 437.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.2161, allocations: 19.98 kB / 437.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.2174, allocations: 0.6141 MB / 438.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0032/0.2206, allocations: 2.55 MB / 441 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.2218, allocations: 0.6559 MB / 441.7 MB, free: 9.582 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008414/0.2226, allocations: 0.5611 MB / 442.3 MB, free: 9.023 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007991/0.2306, allocations: 7.508 MB / 449.8 MB, free: 388 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007482/0.2314, allocations: 401.9 kB / 450.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 2.876e-06/0.2314, allocations: 0 / 450.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=67): time 0.005341/0.2368, allocations: 2.157 MB / 452.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.2369, allocations: 89.55 kB / 452.4 MB, free: 13.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.2385, allocations: 1.419 MB / 453.8 MB, free: 12.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.2386, allocations: 37.7 kB / 453.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005789/0.2392, allocations: 0.7977 MB / 454.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.2393, allocations: 224.7 kB / 454.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.2394, allocations: 12 kB / 454.9 MB, free: 11.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2395, allocations: 345.9 kB / 455.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/0.2401, allocations: 269.9 kB / 455.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006622/0.2407, allocations: 478.2 kB / 456 MB, free: 9.977 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.2421, allocations: 0.7792 MB / 456.7 MB, free: 9.117 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2421, allocations: 4 kB / 456.7 MB, free: 9.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001974/0.2441, allocations: 1.179 MB / 457.9 MB, free: 7.926 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2441, allocations: 8 kB / 457.9 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.305e-05/0.2442, allocations: 75.98 kB / 458 MB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.2453, allocations: 0.688 MB / 458.7 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/0.2458, allocations: 131.7 kB / 458.8 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.247, allocations: 1.124 MB / 459.9 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006457/0.2477, allocations: 99.33 kB / 460 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.2477, allocations: 36 kB / 460.1 MB, free: 5.738 MB / 330.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 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * 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.0004499/0.2482, allocations: 293.6 kB / 460.4 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.2484, allocations: 209.4 kB / 460.6 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.2506, allocations: 1.146 MB / 461.7 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.2506, allocations: 4 kB / 461.7 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2506, allocations: 0 / 461.7 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.2506, allocations: 3.984 kB / 461.7 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.2517, allocations: 0.9757 MB / 462.7 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-05/0.2518, allocations: 67.98 kB / 462.8 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.2521, allocations: 79.88 kB / 462.8 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.2532, allocations: 0.6633 MB / 463.5 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.365e-05/0.2532, allocations: 19.92 kB / 463.5 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.2545, allocations: 1.081 MB / 464.6 MB, free: 1.098 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2545, allocations: 4 kB / 464.6 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/0.2571, allocations: 1.41 MB / 466 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005029/0.2576, allocations: 290.4 kB / 466.3 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.2577, allocations: 15.98 kB / 466.3 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/0.2582, allocations: 35.97 kB / 466.4 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.2583, allocations: 56.36 kB / 466.4 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.941e-05/0.2584, allocations: 24 kB / 466.4 MB, free: 15.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001137/0.2595, allocations: 0.9292 MB / 467.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2595, allocations: 0 / 467.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009439/0.2605, allocations: 423.5 kB / 467.8 MB, free: 13.86 MB / 346.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.0007215/0.2612, allocations: 488 kB / 468.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.2631, allocations: 0.9012 MB / 469.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2631, allocations: 0 / 469.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.2642, allocations: 0.5486 MB / 469.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008698/0.2651, allocations: 207.9 kB / 469.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0048/0.2699, allocations: 3.617 MB / 473.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006035/0.2705, allocations: 1.216 MB / 474.7 MB, free: 6.797 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005333/0.2711, allocations: 162.1 kB / 474.9 MB, free: 6.637 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.2712, allocations: 75.38 kB / 475 MB, free: 6.562 MB / 346.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2712, allocations: 0 / 475 MB, free: 6.562 MB / 346.7 MB Notification: Performance of Templates: time 0.02506/0.2963, allocations: 15.24 MB / 490.2 MB, free: 7.371 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (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)