Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/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_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_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 195 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008331/0.0008331, allocations: 96.92 kB / 297.4 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002292/0.0002292, allocations: 8 kB / 357.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1983, allocations: 51.28 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09764/0.2959, allocations: 94.47 MB / 0.4913 GB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.2962, allocations: 86.95 kB / 0.4914 GB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2369/0.5331, allocations: 60.71 MB / 0.5507 GB, free: 60.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5332, allocations: 0 / 0.5507 GB, free: 60.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.213e-05/0.5332, allocations: 28 kB / 0.5507 GB, free: 60.61 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.00256/0.5358, allocations: 2.056 MB / 0.5527 GB, free: 58.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.5358, allocations: 8.031 kB / 0.5527 GB, free: 58.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002928/0.5361, allocations: 238.3 kB / 0.553 GB, free: 58.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.5375, allocations: 1.344 MB / 0.5543 GB, free: 56.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.5376, allocations: 45.67 kB / 0.5543 GB, free: 56.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.064e-05/0.5376, allocations: 52.38 kB / 0.5544 GB, free: 56.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.5387, allocations: 0.7142 MB / 0.5551 GB, free: 56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.5387, allocations: 0 / 0.5551 GB, free: 56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.476e-05/0.5388, allocations: 23.94 kB / 0.5551 GB, free: 55.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.5388, allocations: 19.98 kB / 0.5551 GB, free: 55.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.5399, allocations: 0.6141 MB / 0.5557 GB, free: 55.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002774/0.5427, allocations: 2.595 MB / 0.5583 GB, free: 52.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009978/0.5437, allocations: 0.6762 MB / 0.5589 GB, free: 51.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007282/0.5444, allocations: 0.5572 MB / 0.5595 GB, free: 51.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007047/0.5515, allocations: 8.677 MB / 0.5679 GB, free: 41.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006495/0.5521, allocations: 413.8 kB / 0.5683 GB, free: 40.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.675e-06/0.5521, allocations: 0 / 0.5683 GB, free: 40.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=67): time 0.004722/0.5569, allocations: 2.133 MB / 0.5704 GB, free: 38.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.5569, allocations: 97.47 kB / 0.5705 GB, free: 38.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.5583, allocations: 1.482 MB / 0.5719 GB, free: 37.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.5583, allocations: 37.7 kB / 0.572 GB, free: 37.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004369/0.5588, allocations: 0.8016 MB / 0.5728 GB, free: 36.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.5589, allocations: 232.6 kB / 0.573 GB, free: 36.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-05/0.5589, allocations: 16 kB / 0.573 GB, free: 36.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.054e-05/0.559, allocations: 330 kB / 0.5733 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/0.5595, allocations: 277.8 kB / 0.5736 GB, free: 35.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.56, allocations: 482.2 kB / 0.574 GB, free: 34.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.5611, allocations: 0.7715 MB / 0.5748 GB, free: 34.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5612, allocations: 4 kB / 0.5748 GB, free: 34.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001621/0.5628, allocations: 1.171 MB / 0.5759 GB, free: 32.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5628, allocations: 8 kB / 0.576 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.979e-05/0.5629, allocations: 75.98 kB / 0.576 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009435/0.5638, allocations: 0.6992 MB / 0.5767 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.5643, allocations: 127.8 kB / 0.5768 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009738/0.5653, allocations: 1.104 MB / 0.5779 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005923/0.5659, allocations: 107.3 kB / 0.578 GB, free: 30.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.905e-05/0.5659, allocations: 35.94 kB / 0.578 GB, free: 30.66 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.000381/0.5663, allocations: 291.2 kB / 0.5783 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.5665, allocations: 201.6 kB / 0.5785 GB, free: 30.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/0.5685, allocations: 1.17 MB / 0.5797 GB, free: 28.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.5685, allocations: 8 kB / 0.5797 GB, free: 28.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.5685, allocations: 3.938 kB / 0.5797 GB, free: 28.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5686, allocations: 0 / 0.5797 GB, free: 28.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008316/0.5694, allocations: 1.018 MB / 0.5807 GB, free: 27.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.022e-05/0.5695, allocations: 68 kB / 0.5807 GB, free: 27.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.5698, allocations: 67.94 kB / 0.5808 GB, free: 27.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008564/0.5707, allocations: 0.6779 MB / 0.5815 GB, free: 27.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.5707, allocations: 19.98 kB / 0.5815 GB, free: 27.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009114/0.5716, allocations: 1.085 MB / 0.5825 GB, free: 25.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.5716, allocations: 0 / 0.5825 GB, free: 25.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/0.5738, allocations: 1.456 MB / 0.584 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/0.5741, allocations: 298.5 kB / 0.5842 GB, free: 24.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.5742, allocations: 8 kB / 0.5842 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/0.5747, allocations: 51.95 kB / 0.5843 GB, free: 24.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.5748, allocations: 56.3 kB / 0.5843 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.377e-05/0.5748, allocations: 20 kB / 0.5844 GB, free: 24.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009112/0.5758, allocations: 0.9838 MB / 0.5853 GB, free: 23.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5758, allocations: 0 / 0.5853 GB, free: 23.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000852/0.5766, allocations: 495.1 kB / 0.5858 GB, free: 22.54 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.0006868/0.5773, allocations: 0.5511 MB / 0.5863 GB, free: 21.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.5789, allocations: 0.8936 MB / 0.5872 GB, free: 21.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5789, allocations: 0 / 0.5872 GB, free: 21.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009201/0.5798, allocations: 0.5448 MB / 0.5877 GB, free: 20.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008483/0.5807, allocations: 202.3 kB / 0.5879 GB, free: 20.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/0.5845, allocations: 3.472 MB / 0.5913 GB, free: 16.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.5849, allocations: 1.217 MB / 0.5925 GB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.5851, allocations: 87.42 kB / 0.5926 GB, free: 15.46 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5851, allocations: 0 / 0.5926 GB, free: 15.46 MB / 378.7 MB Notification: Performance of Templates: time 0.02451/0.6096, allocations: 25.76 MB / 0.6178 GB, free: 5.699 MB / 394.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkDifferentialPair/Spice3BenchmarkDifferentialPair.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches