Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008612/0.0008612, allocations: 178.1 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.221/1.221, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007281/0.0007283, allocations: 90.41 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002288/0.0002289, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2019, allocations: 47.58 MB / 376.6 MB, free: 45.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.005822/0.2078, allocations: 7.172 MB / 383.8 MB, free: 39.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.2181, allocations: 11.39 MB / 395.2 MB, free: 29.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.2193, allocations: 15.94 kB / 395.2 MB, free: 29.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001995/0.2213, allocations: 0.7544 MB / 395.9 MB, free: 28.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003351/0.2247, allocations: 0.9796 MB / 396.9 MB, free: 27.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.226, allocations: 0.4958 MB / 397.4 MB, free: 27.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00288/0.2289, allocations: 2.494 MB / 399.9 MB, free: 24.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003633/0.2293, allocations: 315.1 kB / 400.2 MB, free: 24.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004182/0.2297, allocations: 489.3 kB / 400.7 MB, free: 24.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.2301, allocations: 0.582 MB / 401.3 MB, free: 23.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.183e-05/0.2302, allocations: 36 kB / 401.3 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.2316, allocations: 0.6479 MB / 401.9 MB, free: 22.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.2317, allocations: 190.6 kB / 402.1 MB, free: 22.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005342/0.2323, allocations: 0.7624 MB / 402.9 MB, free: 21.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.234, allocations: 2.027 MB / 404.9 MB, free: 19.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.234, allocations: 0 / 404.9 MB, free: 19.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.234, allocations: 0 / 404.9 MB, free: 19.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.21e-05/0.2341, allocations: 0 / 404.9 MB, free: 19.83 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.00231/0.2364, allocations: 1.971 MB / 406.9 MB, free: 17.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2364, allocations: 8.031 kB / 406.9 MB, free: 17.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.2366, allocations: 226.3 kB / 407.1 MB, free: 17.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.2378, allocations: 1.308 MB / 408.4 MB, free: 16.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.2379, allocations: 41.31 kB / 408.5 MB, free: 16.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.557e-05/0.238, allocations: 59.89 kB / 408.5 MB, free: 16.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.2391, allocations: 0.7134 MB / 409.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.2391, allocations: 0 / 409.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-05/0.2391, allocations: 24 kB / 409.3 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.2392, allocations: 12 kB / 409.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.2402, allocations: 0.6142 MB / 409.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002604/0.2428, allocations: 2.552 MB / 412.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.2439, allocations: 0.6662 MB / 413.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007174/0.2446, allocations: 0.5627 MB / 413.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006292/0.2509, allocations: 7.508 MB / 421.2 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006762/0.2516, allocations: 402 kB / 421.6 MB, free: 1.738 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 3.116e-06/0.2516, allocations: 0 / 421.6 MB, free: 1.738 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.005105/0.2567, allocations: 2.168 MB / 423.7 MB, free: 15.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.2568, allocations: 85.55 kB / 423.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.2585, allocations: 1.419 MB / 425.2 MB, free: 13.97 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.2586, allocations: 37.69 kB / 425.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006779/0.2592, allocations: 0.7938 MB / 426.1 MB, free: 13.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.2594, allocations: 232.8 kB / 426.3 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.2595, allocations: 12 kB / 426.3 MB, free: 12.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2596, allocations: 337.9 kB / 426.6 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006111/0.2603, allocations: 273.9 kB / 426.9 MB, free: 12.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007037/0.261, allocations: 478.2 kB / 427.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.2624, allocations: 0.7715 MB / 428.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.2624, allocations: 4 kB / 428.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002153/0.2645, allocations: 1.186 MB / 429.3 MB, free: 9.676 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.2646, allocations: 11.94 kB / 429.4 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/0.2647, allocations: 79.92 kB / 429.4 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.2659, allocations: 0.6958 MB / 430.1 MB, free: 8.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.2664, allocations: 127.8 kB / 430.3 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.2677, allocations: 1.108 MB / 431.4 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007867/0.2685, allocations: 103.3 kB / 431.5 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-05/0.2686, allocations: 32 kB / 431.5 MB, free: 7.492 MB / 314.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.0005789/0.2692, allocations: 293.6 kB / 431.8 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.2694, allocations: 209.5 kB / 432 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.2717, allocations: 1.123 MB / 433.1 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.2717, allocations: 8 kB / 433.1 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2717, allocations: 0 / 433.1 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.2717, allocations: 0 / 433.1 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.2729, allocations: 0.9832 MB / 434.1 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.39e-05/0.273, allocations: 67.98 kB / 434.2 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.2733, allocations: 75.83 kB / 434.2 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.2744, allocations: 0.671 MB / 434.9 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.2744, allocations: 23.98 kB / 434.9 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.2756, allocations: 1.081 MB / 436 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2756, allocations: 0 / 436 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.278, allocations: 1.421 MB / 437.4 MB, free: 1.418 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/0.2784, allocations: 278.6 kB / 437.7 MB, free: 1.125 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.2785, allocations: 15.98 kB / 437.7 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/0.279, allocations: 47.95 kB / 437.8 MB, free: 1.062 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.2791, allocations: 48.38 kB / 437.8 MB, free: 1.016 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/0.2792, allocations: 27.98 kB / 437.8 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001115/0.2803, allocations: 0.9253 MB / 438.8 MB, free: 44 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2803, allocations: 0 / 438.8 MB, free: 44 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008213/0.2811, allocations: 427.4 kB / 439.2 MB, free: 15.62 MB / 330.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.0007908/0.2819, allocations: 480 kB / 439.7 MB, free: 15.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002072/0.284, allocations: 0.9091 MB / 440.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.284, allocations: 0 / 440.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.2851, allocations: 0.5525 MB / 441.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008862/0.286, allocations: 178.9 kB / 441.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/0.2911, allocations: 3.618 MB / 444.9 MB, free: 9.832 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006312/0.2918, allocations: 1.216 MB / 446.1 MB, free: 8.586 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005531/0.2923, allocations: 162.1 kB / 446.3 MB, free: 8.426 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.2925, allocations: 79.38 kB / 446.4 MB, free: 8.348 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2925, allocations: 0 / 446.4 MB, free: 8.348 MB / 330.7 MB Notification: Performance of Templates: time 0.02609/0.3186, allocations: 15.23 MB / 461.6 MB, free: 9.113 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)