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.001482/0.001486, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.973/1.973, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001056/0.001056, allocations: 82.77 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.051e-05/3.06e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.09063, allocations: 47.58 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4203/0.511, allocations: 91.31 MB / 460.4 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.5113, allocations: 73.95 kB / 460.5 MB, free: 2.074 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1898/0.7012, allocations: 57.37 MB / 0.5057 GB, free: 10.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.7013, allocations: 4 kB / 0.5057 GB, free: 10.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.082e-05/0.7014, allocations: 24.88 kB / 0.5057 GB, free: 10.26 MB / 394.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.004301/0.7057, allocations: 1.732 MB / 0.5074 GB, free: 8.473 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.7057, allocations: 8.031 kB / 0.5074 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004417/0.7062, allocations: 233.3 kB / 0.5077 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/0.7093, allocations: 1.255 MB / 0.5089 GB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.555e-05/0.7094, allocations: 37.31 kB / 0.5089 GB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.7096, allocations: 56 kB / 0.509 GB, free: 6.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.7112, allocations: 0.6277 MB / 0.5096 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.7112, allocations: 0 / 0.5096 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.62e-05/0.7113, allocations: 23.98 kB / 0.5096 GB, free: 6.156 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.954e-05/0.7114, allocations: 23.95 kB / 0.5096 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.7127, allocations: 469.2 kB / 0.5101 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005811/0.7185, allocations: 2.598 MB / 0.5126 GB, free: 2.941 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.7197, allocations: 0.5181 MB / 0.5131 GB, free: 2.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.7207, allocations: 0.4911 MB / 0.5136 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01542/0.7362, allocations: 8.755 MB / 0.5222 GB, free: 7.805 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008328/0.7371, allocations: 330 kB / 0.5225 GB, free: 7.465 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 3.807e-06/0.7371, allocations: 0 / 0.5225 GB, free: 7.465 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.002418/0.7395, allocations: 0.8719 MB / 0.5233 GB, free: 6.586 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.7396, allocations: 85.55 kB / 0.5234 GB, free: 6.484 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002629/0.7423, allocations: 1.254 MB / 0.5246 GB, free: 5.191 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.7424, allocations: 41.69 kB / 0.5247 GB, free: 5.145 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000893/0.7433, allocations: 0.7015 MB / 0.5254 GB, free: 4.441 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003656/0.7437, allocations: 228.7 kB / 0.5256 GB, free: 4.215 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-05/0.7438, allocations: 16 kB / 0.5256 GB, free: 4.199 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.744, allocations: 338.8 kB / 0.5259 GB, free: 3.859 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005927/0.7446, allocations: 189.8 kB / 0.5261 GB, free: 3.676 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007509/0.7454, allocations: 401.5 kB / 0.5265 GB, free: 3.203 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000703/0.7461, allocations: 253.7 kB / 0.5267 GB, free: 2.957 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/0.7461, allocations: 4 kB / 0.5267 GB, free: 2.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002291/0.7484, allocations: 0.8546 MB / 0.5276 GB, free: 2.086 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.7485, allocations: 8.781 kB / 0.5276 GB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001767/0.7486, allocations: 71.98 kB / 0.5276 GB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002016/0.7507, allocations: 0.7029 MB / 0.5283 GB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008883/0.7516, allocations: 123.8 kB / 0.5284 GB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.7537, allocations: 1.108 MB / 0.5295 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2744/1.028, allocations: 91.7 kB / 0.5296 GB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/1.028, allocations: 36.78 kB / 0.5296 GB, free: 106.3 MB / 410.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 () * 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.0002601/1.029, allocations: 146.1 kB / 0.5298 GB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/1.029, allocations: 203.8 kB / 0.53 GB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003467/1.032, allocations: 1.032 MB / 0.531 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/1.033, allocations: 5.312 kB / 0.531 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.033, allocations: 0.7969 kB / 0.531 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/1.033, allocations: 3.219 kB / 0.531 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/1.035, allocations: 1.008 MB / 0.532 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001687/1.035, allocations: 67.81 kB / 0.532 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006736/1.035, allocations: 71.52 kB / 0.5321 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001909/1.037, allocations: 0.6637 MB / 0.5328 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.056e-05/1.037, allocations: 20.28 kB / 0.5328 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/1.039, allocations: 1.084 MB / 0.5338 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.039, allocations: 0 / 0.5338 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003062/1.042, allocations: 1.223 MB / 0.535 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006792/1.043, allocations: 302.3 kB / 0.5353 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/1.043, allocations: 13.25 kB / 0.5353 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009421/1.044, allocations: 47.91 kB / 0.5354 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/1.045, allocations: 46.86 kB / 0.5354 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-05/1.045, allocations: 24.91 kB / 0.5354 GB, free: 104.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002017/1.047, allocations: 0.9645 MB / 0.5364 GB, free: 104.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.047, allocations: 1.031 kB / 0.5364 GB, free: 104.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001811/1.049, allocations: 486.9 kB / 0.5369 GB, free: 104.8 MB / 410.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) * 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.001423/1.05, allocations: 0.5535 MB / 0.5374 GB, free: 104.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002363/1.052, allocations: 0.7481 MB / 0.5381 GB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.052, allocations: 0 / 0.5381 GB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/1.054, allocations: 479.3 kB / 0.5386 GB, free: 104.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/1.055, allocations: 179.1 kB / 0.5387 GB, free: 104.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007225/1.062, allocations: 2.381 MB / 0.5411 GB, free: 103.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/1.063, allocations: 1.252 MB / 0.5423 GB, free: 103.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004228/1.064, allocations: 84.81 kB / 0.5424 GB, free: 103.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/1.064, allocations: 0 / 0.5424 GB, free: 103.2 MB / 410.7 MB Notification: Performance of Templates: time 0.04692/1.111, allocations: 24.77 MB / 0.5666 GB, free: 101.6 MB / 410.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