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.002268/0.002268, allocations: 181.8 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 101.3 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.697e-05/1.675e-05, allocations: 0 / 314.8 MB, free: 9.16 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3327, allocations: 47.58 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.4783, allocations: 90.66 MB / 453 MB, free: 11.63 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.4787, allocations: 71.97 kB / 453.1 MB, free: 11.56 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2004/0.6791, allocations: 54.47 MB / 0.4956 GB, free: 5.078 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.6791, allocations: 0 / 0.4956 GB, free: 5.078 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0001106/0.6793, allocations: 36.86 kB / 0.4957 GB, free: 5.043 MB / 395.1 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.005861/0.6851, allocations: 1.726 MB / 0.4974 GB, free: 3.266 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.824e-05/0.6852, allocations: 8.031 kB / 0.4974 GB, free: 3.258 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009021/0.6862, allocations: 225.3 kB / 0.4976 GB, free: 3.035 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005498/0.6917, allocations: 1.255 MB / 0.4988 GB, free: 1.707 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.138e-05/0.6918, allocations: 20 kB / 0.4988 GB, free: 1.688 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002717/0.6921, allocations: 32 kB / 0.4989 GB, free: 1.656 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002139/0.6943, allocations: 442.5 kB / 0.4993 GB, free: 1.227 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/0.6967, allocations: 0.5509 MB / 0.4998 GB, free: 0.6602 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/0.6968, allocations: 0 / 0.4998 GB, free: 0.6602 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.6969, allocations: 11.95 kB / 0.4998 GB, free: 0.6484 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.726e-05/0.697, allocations: 12 kB / 0.4998 GB, free: 0.6367 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2895/0.9865, allocations: 2.48 MB / 0.5023 GB, free: 97.26 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.9878, allocations: 0.4931 MB / 0.5028 GB, free: 97.23 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009316/0.9887, allocations: 475.4 kB / 0.5032 GB, free: 97.22 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0155/1.004, allocations: 8.758 MB / 0.5118 GB, free: 90.12 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007949/1.005, allocations: 309.4 kB / 0.5121 GB, free: 90.07 MB / 395.1 MB Notification: Performance of pre-optimization done (n=67): time 4.428e-06/1.005, allocations: 1.75 kB / 0.5121 GB, free: 90.07 MB / 395.1 MB Notification: Performance of matching and sorting (n=67): time 0.003022/1.008, allocations: 0.9545 MB / 0.513 GB, free: 89.9 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/1.008, allocations: 86.06 kB / 0.5131 GB, free: 89.81 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/1.011, allocations: 1.155 MB / 0.5142 GB, free: 89.61 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/1.011, allocations: 28.45 kB / 0.5142 GB, free: 89.58 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007018/1.012, allocations: 0.6918 MB / 0.5149 GB, free: 89.36 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003272/1.012, allocations: 222.5 kB / 0.5151 GB, free: 89.24 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/1.012, allocations: 3.062 kB / 0.5151 GB, free: 89.24 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 9.321e-05/1.012, allocations: 342.7 kB / 0.5154 GB, free: 88.93 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005119/1.013, allocations: 185.1 kB / 0.5156 GB, free: 88.93 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006192/1.013, allocations: 377.7 kB / 0.516 GB, free: 88.71 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/1.015, allocations: 356.6 kB / 0.5163 GB, free: 88.7 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/1.015, allocations: 1.562 kB / 0.5163 GB, free: 88.7 MB / 395.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002725/1.017, allocations: 0.9031 MB / 0.5172 GB, free: 88.6 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/1.017, allocations: 7.781 kB / 0.5172 GB, free: 88.6 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001848/1.018, allocations: 71.62 kB / 0.5173 GB, free: 88.6 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001989/1.02, allocations: 0.6637 MB / 0.5179 GB, free: 88.59 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009174/1.021, allocations: 129.8 kB / 0.518 GB, free: 88.59 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/1.023, allocations: 1.281 MB / 0.5193 GB, free: 88.04 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/1.025, allocations: 87.41 kB / 0.5194 GB, free: 88.02 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/1.025, allocations: 40.19 kB / 0.5194 GB, free: 88.02 MB / 395.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: RS2.v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real Q2.vcs:VARIABLE(unit = "V" ) type: Real Q1.B.v:VARIABLE(flow=false unit = "V" ) "Potential at the pin" type: Real Q1.vcs:VARIABLE(unit = "V" ) type: Real Q2.Einternal:VARIABLE(unit = "V" ) type: Real 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.0003221/1.025, allocations: 133.5 kB / 0.5195 GB, free: 87.91 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000446/1.026, allocations: 197.9 kB / 0.5197 GB, free: 87.81 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/1.03, allocations: 1.101 MB / 0.5208 GB, free: 87.71 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/1.03, allocations: 9.75 kB / 0.5208 GB, free: 87.71 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.03, allocations: 0 / 0.5208 GB, free: 87.71 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.03, allocations: 6.531 kB / 0.5208 GB, free: 87.71 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/1.032, allocations: 0.9174 MB / 0.5217 GB, free: 87.51 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001852/1.032, allocations: 67.53 kB / 0.5218 GB, free: 87.51 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007116/1.033, allocations: 76.42 kB / 0.5219 GB, free: 87.51 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001895/1.035, allocations: 0.6542 MB / 0.5225 GB, free: 87.5 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/1.035, allocations: 21.69 kB / 0.5225 GB, free: 87.5 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/1.037, allocations: 1.26 MB / 0.5238 GB, free: 86.95 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.037, allocations: 0 / 0.5238 GB, free: 86.95 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003251/1.041, allocations: 1.29 MB / 0.525 GB, free: 86.73 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007821/1.041, allocations: 293.3 kB / 0.5253 GB, free: 86.54 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002822/1.042, allocations: 3.812 kB / 0.5253 GB, free: 86.54 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.043, allocations: 42.33 kB / 0.5253 GB, free: 86.54 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/1.043, allocations: 54.3 kB / 0.5254 GB, free: 86.54 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.783e-05/1.043, allocations: 23.19 kB / 0.5254 GB, free: 86.54 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001697/1.045, allocations: 0.8701 MB / 0.5263 GB, free: 86.39 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.81e-07/1.045, allocations: 0 / 0.5263 GB, free: 86.39 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001841/1.047, allocations: 459.8 kB / 0.5267 GB, free: 86.38 MB / 395.1 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.001384/1.048, allocations: 0.6127 MB / 0.5273 GB, free: 86.29 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.002214/1.05, allocations: 0.7028 MB / 0.528 GB, free: 86.21 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/1.05, allocations: 0 / 0.528 GB, free: 86.21 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001439/1.052, allocations: 459.7 kB / 0.5284 GB, free: 86.13 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/1.053, allocations: 165.6 kB / 0.5286 GB, free: 86.12 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006626/1.06, allocations: 2.357 MB / 0.5309 GB, free: 85.48 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007304/1.061, allocations: 1.26 MB / 0.5321 GB, free: 84.74 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/1.061, allocations: 81.53 kB / 0.5322 GB, free: 84.73 MB / 395.1 MB Notification: Performance of SimCode: time 1.082e-06/1.061, allocations: 0 / 0.5322 GB, free: 84.73 MB / 395.1 MB Notification: Performance of Templates: time 0.04569/1.107, allocations: 24.71 MB / 0.5563 GB, free: 77.78 MB / 395.1 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