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.001517/0.001516, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.886/1.886, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001092/0.001092, allocations: 98.84 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003685, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3165, allocations: 47.56 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.4612, allocations: 91.42 MB / 466 MB, free: 5.328 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.4615, allocations: 83.91 kB / 466 MB, free: 5.246 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4449/0.9065, allocations: 57.53 MB / 0.5113 GB, free: 94.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.9066, allocations: 0 / 0.5113 GB, free: 94.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001042/0.9067, allocations: 27.22 kB / 0.5113 GB, free: 94.05 MB / 378.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.005446/0.9121, allocations: 2.078 MB / 0.5134 GB, free: 92.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.9122, allocations: 11 kB / 0.5134 GB, free: 92.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005029/0.9127, allocations: 227.7 kB / 0.5136 GB, free: 92.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003143/0.9159, allocations: 1.254 MB / 0.5148 GB, free: 92.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.481e-05/0.916, allocations: 40.19 kB / 0.5148 GB, free: 92.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.9162, allocations: 69.33 kB / 0.5149 GB, free: 92.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.9183, allocations: 0.7068 MB / 0.5156 GB, free: 91.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.9184, allocations: 0 / 0.5156 GB, free: 91.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-05/0.9185, allocations: 23.09 kB / 0.5156 GB, free: 91.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.9185, allocations: 18.47 kB / 0.5156 GB, free: 91.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.9208, allocations: 0.6147 MB / 0.5162 GB, free: 91.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005952/0.9268, allocations: 2.596 MB / 0.5188 GB, free: 90.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.9289, allocations: 0.6648 MB / 0.5194 GB, free: 89.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01334/0.9422, allocations: 8.68 MB / 0.5279 GB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/0.9436, allocations: 405 kB / 0.5283 GB, free: 81.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 4.258e-06/0.9437, allocations: 0 / 0.5283 GB, free: 81.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=67): time 0.01114/0.9548, allocations: 2.205 MB / 0.5304 GB, free: 81.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.9549, allocations: 91.72 kB / 0.5305 GB, free: 80.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/0.9573, allocations: 1.274 MB / 0.5318 GB, free: 80.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.9575, allocations: 37.67 kB / 0.5318 GB, free: 80.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00065/0.9582, allocations: 0.7021 MB / 0.5325 GB, free: 79.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/0.9585, allocations: 224.7 kB / 0.5327 GB, free: 79.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.9586, allocations: 14.44 kB / 0.5327 GB, free: 79.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.824e-05/0.9587, allocations: 337.5 kB / 0.533 GB, free: 79.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.9597, allocations: 275.1 kB / 0.5333 GB, free: 78.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.9608, allocations: 478.2 kB / 0.5338 GB, free: 78.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.9619, allocations: 326.9 kB / 0.5341 GB, free: 78.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.9619, allocations: 5.219 kB / 0.5341 GB, free: 78 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002909/0.9648, allocations: 1.005 MB / 0.5351 GB, free: 76.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.9649, allocations: 8 kB / 0.5351 GB, free: 76.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000148/0.9651, allocations: 75.98 kB / 0.5351 GB, free: 76.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/0.9668, allocations: 0.6956 MB / 0.5358 GB, free: 76.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008508/0.9677, allocations: 129.6 kB / 0.5359 GB, free: 76.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.9695, allocations: 1.12 MB / 0.537 GB, free: 74.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.9709, allocations: 103.3 kB / 0.5371 GB, free: 74.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.9711, allocations: 36 kB / 0.5372 GB, free: 74.79 MB / 378.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.0007835/0.9718, allocations: 296.7 kB / 0.5374 GB, free: 74.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003862/0.9722, allocations: 201.6 kB / 0.5376 GB, free: 74.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003991/0.9762, allocations: 1.176 MB / 0.5388 GB, free: 73.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.9763, allocations: 4 kB / 0.5388 GB, free: 73.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.9763, allocations: 7.938 kB / 0.5388 GB, free: 73.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.9763, allocations: 6.109 kB / 0.5388 GB, free: 73.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.9782, allocations: 1.007 MB / 0.5398 GB, free: 72.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001469/0.9784, allocations: 67.98 kB / 0.5399 GB, free: 71.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000654/0.979, allocations: 75.88 kB / 0.5399 GB, free: 71.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001664/0.9807, allocations: 0.6626 MB / 0.5406 GB, free: 71.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.9809, allocations: 23.98 kB / 0.5406 GB, free: 71.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/0.9826, allocations: 1.084 MB / 0.5417 GB, free: 70.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9826, allocations: 0 / 0.5417 GB, free: 70.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/0.987, allocations: 1.452 MB / 0.5431 GB, free: 68.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00075/0.9878, allocations: 302.5 kB / 0.5434 GB, free: 68.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/0.9881, allocations: 11.98 kB / 0.5434 GB, free: 68.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009246/0.989, allocations: 43.97 kB / 0.5434 GB, free: 68.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/0.9893, allocations: 52.36 kB / 0.5435 GB, free: 68.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.36e-05/0.9894, allocations: 23.98 kB / 0.5435 GB, free: 68.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001952/0.9913, allocations: 0.9839 MB / 0.5445 GB, free: 67.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.31e-07/0.9914, allocations: 0 / 0.5445 GB, free: 67.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001717/0.9931, allocations: 487.1 kB / 0.5449 GB, free: 66.7 MB / 378.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.001441/0.9946, allocations: 0.5475 MB / 0.5454 GB, free: 66.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003307/0.998, allocations: 0.8934 MB / 0.5463 GB, free: 65.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.998, allocations: 4 kB / 0.5463 GB, free: 65.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001944/1, allocations: 0.5448 MB / 0.5469 GB, free: 64.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/1.001, allocations: 178.8 kB / 0.547 GB, free: 64.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008011/1.009, allocations: 3.459 MB / 0.5504 GB, free: 61.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/1.01, allocations: 1.248 MB / 0.5516 GB, free: 59.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003369/1.01, allocations: 87.44 kB / 0.5517 GB, free: 59.65 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/1.01, allocations: 0 / 0.5517 GB, free: 59.65 MB / 378.7 MB Notification: Performance of Templates: time 0.04289/1.053, allocations: 24.78 MB / 0.5759 GB, free: 34.86 MB / 378.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/jenkins1/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