Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009107/0.0009107, allocations: 200.9 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007245/0.0007245, allocations: 104.9 kB / 299.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002075/0.0002076, allocations: 8 kB / 360.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1832, allocations: 51.41 MB / 412 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.004712/0.1879, allocations: 7.316 MB / 419.4 MB, free: 18.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009059/0.197, allocations: 12.06 MB / 431.4 MB, free: 6.195 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007612/0.1978, allocations: 23.81 kB / 431.4 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.1995, allocations: 0.7612 MB / 432.2 MB, free: 5.406 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.202, allocations: 0.9991 MB / 433.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.2033, allocations: 0.5153 MB / 433.7 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002946/0.2062, allocations: 2.56 MB / 436.3 MB, free: 1.312 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003885/0.2066, allocations: 322.5 kB / 436.6 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004815/0.2071, allocations: 0.5012 MB / 437.1 MB, free: 484 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004918/0.2076, allocations: 0.586 MB / 437.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.2077, allocations: 36 kB / 437.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.2093, allocations: 0.714 MB / 438.4 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.2095, allocations: 190.7 kB / 438.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006121/0.2101, allocations: 0.7624 MB / 439.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.212, allocations: 2.031 MB / 441.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.212, allocations: 0 / 441.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.212, allocations: 0 / 441.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.212, allocations: 0 / 441.4 MB, free: 12.13 MB / 314.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.002777/0.2148, allocations: 1.983 MB / 443.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.2149, allocations: 8.031 kB / 443.4 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003625/0.2152, allocations: 234.4 kB / 443.6 MB, free: 9.852 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.217, allocations: 1.316 MB / 444.9 MB, free: 8.461 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.217, allocations: 41.25 kB / 445 MB, free: 8.422 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.482e-05/0.2171, allocations: 59.91 kB / 445 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.2183, allocations: 0.7056 MB / 445.7 MB, free: 7.645 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.2184, allocations: 0 / 445.7 MB, free: 7.645 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/0.2184, allocations: 24 kB / 445.8 MB, free: 7.621 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.2185, allocations: 23.98 kB / 445.8 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.2197, allocations: 0.6064 MB / 446.4 MB, free: 6.992 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003285/0.223, allocations: 2.546 MB / 448.9 MB, free: 4.312 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.2242, allocations: 0.6622 MB / 449.6 MB, free: 3.637 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008658/0.2251, allocations: 0.5611 MB / 450.2 MB, free: 3.074 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006725/0.2318, allocations: 5.899 MB / 456.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008229/0.2327, allocations: 431.3 kB / 456.5 MB, free: 11.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=73): time 4.338e-06/0.2327, allocations: 0 / 456.5 MB, free: 11.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=73): time 0.006665/0.2394, allocations: 2.496 MB / 459 MB, free: 9.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.2395, allocations: 85.67 kB / 459.1 MB, free: 9.309 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.2411, allocations: 1.407 MB / 460.5 MB, free: 7.863 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.2411, allocations: 37.7 kB / 460.5 MB, free: 7.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005824/0.2417, allocations: 0.7901 MB / 461.3 MB, free: 7.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.2419, allocations: 252.4 kB / 461.6 MB, free: 6.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.2419, allocations: 12 kB / 461.6 MB, free: 6.758 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.242, allocations: 341.9 kB / 461.9 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006222/0.2427, allocations: 281.9 kB / 462.2 MB, free: 6.141 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006789/0.2434, allocations: 466.1 kB / 462.6 MB, free: 5.613 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003165/0.2465, allocations: 1.638 MB / 464.3 MB, free: 3.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.2466, allocations: 4 kB / 464.3 MB, free: 3.906 MB / 330.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002133/0.2487, allocations: 1.222 MB / 465.5 MB, free: 2.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2487, allocations: 8 kB / 465.5 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001011/0.2488, allocations: 80 kB / 465.6 MB, free: 2.582 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.25, allocations: 0.7569 MB / 466.3 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/0.2505, allocations: 131.8 kB / 466.5 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.2517, allocations: 1.121 MB / 467.6 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/0.2523, allocations: 95.25 kB / 467.7 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.278e-05/0.2524, allocations: 36 kB / 467.7 MB, free: 428 kB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: Q2.vbc:VARIABLE(start = 0.0 unit = "V" fixed = true ) type: Real Q1.vbc:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (56): * Single equations (assignments): 55 * 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 {(3,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005126/0.2529, allocations: 308.4 kB / 468 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.2531, allocations: 201.8 kB / 468.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.2554, allocations: 1.2 MB / 469.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.2555, allocations: 4 kB / 469.4 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.2555, allocations: 0 / 469.4 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2555, allocations: 3.984 kB / 469.4 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.2566, allocations: 0.9908 MB / 470.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000105/0.2567, allocations: 79.94 kB / 470.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/0.2571, allocations: 79.88 kB / 470.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.2581, allocations: 0.6513 MB / 471.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.954e-05/0.2582, allocations: 20 kB / 471.2 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.2594, allocations: 1.134 MB / 472.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2594, allocations: 0 / 472.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002603/0.262, allocations: 1.514 MB / 473.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003813/0.2624, allocations: 290.5 kB / 474.2 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.2626, allocations: 12 kB / 474.2 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.2631, allocations: 47.95 kB / 474.2 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.2632, allocations: 56.48 kB / 474.3 MB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-05/0.2633, allocations: 27.94 kB / 474.3 MB, free: 9.664 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001096/0.2644, allocations: 0.9211 MB / 475.2 MB, free: 8.723 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2644, allocations: 0 / 475.2 MB, free: 8.723 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008294/0.2652, allocations: 431.5 kB / 475.7 MB, free: 8.301 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Q1.vbe,Q1.vbc,Q1.vbx,Q2.vbe,Q2.vbc,Q2.vbx) * 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 {(3,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007309/0.266, allocations: 488.1 kB / 476.1 MB, free: 7.812 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001995/0.268, allocations: 0.9316 MB / 477.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.268, allocations: 0 / 477.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.2691, allocations: 0.5861 MB / 477.6 MB, free: 6.273 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009544/0.2701, allocations: 206.9 kB / 477.8 MB, free: 6.066 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004651/0.2748, allocations: 3.577 MB / 481.4 MB, free: 2.449 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.2754, allocations: 1.22 MB / 482.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000533/0.2759, allocations: 162.1 kB / 482.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.2761, allocations: 71.44 kB / 482.9 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of SimCode: time 1.704e-06/0.2761, allocations: 0 / 482.9 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of Templates: time 0.02686/0.303, allocations: 15.7 MB / 498.6 MB, free: 1.32 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)