Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/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_cpp_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_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008724/0.0008724, allocations: 177.4 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007188/0.0007188, allocations: 80.95 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002707, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.183, allocations: 47.57 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.004971/0.188, allocations: 7.157 MB / 381.7 MB, free: 39.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008655/0.1967, allocations: 10.01 MB / 391.7 MB, free: 31.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008644/0.1976, allocations: 16.41 kB / 391.7 MB, free: 31.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.199, allocations: 0.6574 MB / 392.4 MB, free: 30.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.2014, allocations: 0.9274 MB / 393.3 MB, free: 30.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009702/0.2023, allocations: 478.8 kB / 393.8 MB, free: 29.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002211/0.2046, allocations: 2.422 MB / 396.2 MB, free: 27.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.2049, allocations: 303.4 kB / 396.5 MB, free: 26.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003196/0.2052, allocations: 465.7 kB / 397 MB, free: 26.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/0.2056, allocations: 0.5435 MB / 397.5 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.39e-05/0.2057, allocations: 40 kB / 397.5 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.2068, allocations: 0.6362 MB / 398.2 MB, free: 25.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-05/0.2069, allocations: 178.8 kB / 398.4 MB, free: 24.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.2071, allocations: 344.7 kB / 398.7 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008631/0.2079, allocations: 1.523 MB / 400.2 MB, free: 23.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2079, allocations: 0 / 400.2 MB, free: 23.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2079, allocations: 4 kB / 400.2 MB, free: 23.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.208, allocations: 0 / 400.2 MB, free: 23.08 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.002227/0.2102, allocations: 1.995 MB / 402.2 MB, free: 21.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.2102, allocations: 8.031 kB / 402.2 MB, free: 21.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.2104, allocations: 225.3 kB / 402.4 MB, free: 20.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.2117, allocations: 1.22 MB / 403.7 MB, free: 19.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.2117, allocations: 45.3 kB / 403.7 MB, free: 19.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.732e-05/0.2118, allocations: 52 kB / 403.8 MB, free: 19.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.2128, allocations: 0.7134 MB / 404.5 MB, free: 18.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.2129, allocations: 0 / 404.5 MB, free: 18.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.323e-05/0.2129, allocations: 27.94 kB / 404.5 MB, free: 18.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.2129, allocations: 15.98 kB / 404.5 MB, free: 18.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.2141, allocations: 0.6219 MB / 405.1 MB, free: 18.01 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002559/0.2166, allocations: 2.545 MB / 407.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.2177, allocations: 0.6623 MB / 408.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007374/0.2185, allocations: 0.5611 MB / 408.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006452/0.2249, allocations: 7.512 MB / 416.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007804/0.2257, allocations: 405.9 kB / 416.8 MB, free: 5.051 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.374e-06/0.2257, allocations: 0 / 416.8 MB, free: 5.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.00502/0.2308, allocations: 2.094 MB / 418.9 MB, free: 2.918 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.2308, allocations: 89.53 kB / 419 MB, free: 2.812 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.232, allocations: 1.423 MB / 420.4 MB, free: 1.352 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.232, allocations: 33.7 kB / 420.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.2325, allocations: 0.7977 MB / 421.2 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.2326, allocations: 228.7 kB / 421.5 MB, free: 284 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.2326, allocations: 12 kB / 421.5 MB, free: 272 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.573e-05/0.2327, allocations: 345.9 kB / 421.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006/0.2333, allocations: 269.9 kB / 422.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007065/0.234, allocations: 486.2 kB / 422.6 MB, free: 15.1 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006463/0.2347, allocations: 326.9 kB / 422.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.2347, allocations: 4 kB / 422.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001961/0.2367, allocations: 1.179 MB / 424.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2367, allocations: 8.969 kB / 424.1 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.61e-05/0.2368, allocations: 76 kB / 424.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.2379, allocations: 0.6991 MB / 424.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.2384, allocations: 123.8 kB / 425 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.2396, allocations: 1.12 MB / 426.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.2402, allocations: 103.3 kB / 426.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/0.2403, allocations: 36 kB / 426.2 MB, free: 11.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 26} Notification: Performance of prepare postOptimizeDAE: time 0.0004192/0.2407, allocations: 293 kB / 426.5 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.2409, allocations: 201.6 kB / 426.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.2431, allocations: 1.134 MB / 427.8 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.2431, allocations: 8 kB / 427.8 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.2431, allocations: 0 / 427.8 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.2431, allocations: 3.953 kB / 427.9 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009533/0.2441, allocations: 0.9792 MB / 428.8 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-05/0.2442, allocations: 68 kB / 428.9 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.2445, allocations: 67.88 kB / 429 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/0.2455, allocations: 0.6636 MB / 429.6 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.2456, allocations: 24.11 kB / 429.6 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.2467, allocations: 1.092 MB / 430.7 MB, free: 6.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2467, allocations: 3.938 kB / 430.7 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002423/0.2491, allocations: 1.409 MB / 432.2 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.2495, allocations: 282.5 kB / 432.4 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.2496, allocations: 15.95 kB / 432.4 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004697/0.2501, allocations: 51.95 kB / 432.5 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.2502, allocations: 48.36 kB / 432.5 MB, free: 4.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.2503, allocations: 24 kB / 432.6 MB, free: 4.895 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001028/0.2513, allocations: 0.9292 MB / 433.5 MB, free: 3.945 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2513, allocations: 0 / 433.5 MB, free: 3.945 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008016/0.2521, allocations: 431.5 kB / 433.9 MB, free: 3.523 MB / 314.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006315/0.2528, allocations: 452 kB / 434.4 MB, free: 3.074 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.2546, allocations: 0.8975 MB / 435.3 MB, free: 2.164 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2546, allocations: 0 / 435.3 MB, free: 2.164 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.2557, allocations: 0.5524 MB / 435.8 MB, free: 1.602 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/0.2564, allocations: 179 kB / 436 MB, free: 1.422 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004729/0.2611, allocations: 3.482 MB / 439.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006054/0.2617, allocations: 1.216 MB / 440.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.2619, allocations: 79.42 kB / 440.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2619, allocations: 0 / 440.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of Templates: time 0.02745/0.2893, allocations: 24.66 MB / 465.4 MB, free: 3.895 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkDifferentialPair/Spice3BenchmarkDifferentialPair.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches