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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001624/0.001624, allocations: 179.5 kB / 8.15 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.2 MB / 213.8 MB, free: 13.9 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.001342/0.001342, allocations: 91.28 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.332e-05/1.334e-05, allocations: 3.938 kB / 314.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2631, allocations: 47.55 MB / 361.8 MB, free: 45.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.4048, allocations: 90.59 MB / 452.4 MB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.4051, allocations: 71.95 kB / 452.5 MB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.19/0.5952, allocations: 54.67 MB / 0.4953 GB, free: 4.688 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.407e-05/0.5953, allocations: 24 kB / 0.4953 GB, free: 4.664 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.005016/0.6003, allocations: 1.77 MB / 0.497 GB, free: 2.848 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.6004, allocations: 8.031 kB / 0.497 GB, free: 2.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005775/0.601, allocations: 225.3 kB / 0.4972 GB, free: 2.617 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003716/0.6047, allocations: 1.255 MB / 0.4985 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.6048, allocations: 20 kB / 0.4985 GB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.605, allocations: 39.98 kB / 0.4985 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001404/0.6064, allocations: 446.4 kB / 0.499 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.6079, allocations: 0.5431 MB / 0.4995 GB, free: 244 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.608, allocations: 0 / 0.4995 GB, free: 244 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.038e-05/0.6081, allocations: 4 kB / 0.4995 GB, free: 240 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/0.6081, allocations: 19.98 kB / 0.4995 GB, free: 220 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1311/0.7392, allocations: 2.492 MB / 0.5019 GB, free: 139.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.7403, allocations: 449.4 kB / 0.5024 GB, free: 139.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008617/0.7411, allocations: 462.6 kB / 0.5028 GB, free: 139 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01395/0.7551, allocations: 8.711 MB / 0.5113 GB, free: 132 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006696/0.7558, allocations: 297.9 kB / 0.5116 GB, free: 131.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=67): time 3.838e-06/0.7559, allocations: 0 / 0.5116 GB, free: 131.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=67): time 0.00268/0.7585, allocations: 0.9263 MB / 0.5125 GB, free: 131.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.7586, allocations: 84.67 kB / 0.5126 GB, free: 131.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.7609, allocations: 1.159 MB / 0.5137 GB, free: 131.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.7611, allocations: 25.7 kB / 0.5137 GB, free: 131.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.7612, allocations: 315.1 kB / 0.514 GB, free: 131.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/0.7615, allocations: 225.8 kB / 0.5143 GB, free: 131.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.7615, allocations: 0 / 0.5143 GB, free: 131.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.7616, allocations: 340 kB / 0.5146 GB, free: 130.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/0.7621, allocations: 181.5 kB / 0.5148 GB, free: 130.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006114/0.7628, allocations: 379.9 kB / 0.5151 GB, free: 130.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000982/0.7638, allocations: 323.8 kB / 0.5154 GB, free: 130.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.7638, allocations: 0 / 0.5154 GB, free: 130.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00233/0.7661, allocations: 0.8863 MB / 0.5163 GB, free: 130.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.7662, allocations: 6.531 kB / 0.5163 GB, free: 130.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001662/0.7664, allocations: 74.94 kB / 0.5164 GB, free: 130.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/0.7682, allocations: 0.6639 MB / 0.517 GB, free: 130.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000958/0.7692, allocations: 139.8 kB / 0.5172 GB, free: 130.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/0.7718, allocations: 1.271 MB / 0.5184 GB, free: 129.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000866/0.7727, allocations: 82.44 kB / 0.5185 GB, free: 129.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-05/0.7728, allocations: 36.47 kB / 0.5185 GB, free: 129.9 MB / 394.7 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.000265/0.7731, allocations: 55.95 kB / 0.5186 GB, free: 129.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004125/0.7735, allocations: 207.3 kB / 0.5188 GB, free: 129.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/0.7777, allocations: 1.152 MB / 0.5199 GB, free: 129.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.7778, allocations: 6.688 kB / 0.5199 GB, free: 129.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.7778, allocations: 0 / 0.5199 GB, free: 129.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.7778, allocations: 7.844 kB / 0.5199 GB, free: 129.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.7795, allocations: 0.9257 MB / 0.5208 GB, free: 129.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001678/0.7797, allocations: 72.08 kB / 0.5209 GB, free: 129.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007781/0.7805, allocations: 79.31 kB / 0.5209 GB, free: 129.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001792/0.7823, allocations: 0.6652 MB / 0.5216 GB, free: 129.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.7825, allocations: 10.84 kB / 0.5216 GB, free: 129.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002455/0.785, allocations: 1.266 MB / 0.5228 GB, free: 128.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.785, allocations: 6.141 kB / 0.5228 GB, free: 128.9 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003341/0.7884, allocations: 1.269 MB / 0.5241 GB, free: 128.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007593/0.7892, allocations: 295.3 kB / 0.5244 GB, free: 128.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003483/0.7895, allocations: 10.77 kB / 0.5244 GB, free: 128.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.7906, allocations: 45.5 kB / 0.5244 GB, free: 128.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.7908, allocations: 51.72 kB / 0.5245 GB, free: 128.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-05/0.7909, allocations: 22.73 kB / 0.5245 GB, free: 128.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001743/0.7926, allocations: 0.8703 MB / 0.5253 GB, free: 128.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001544/0.7942, allocations: 455.8 kB / 0.5258 GB, free: 128.3 MB / 394.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.001324/0.7956, allocations: 0.6134 MB / 0.5264 GB, free: 128.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00235/0.7979, allocations: 0.6976 MB / 0.5271 GB, free: 128.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.798, allocations: 0 / 0.5271 GB, free: 128.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001525/0.7995, allocations: 466.9 kB / 0.5275 GB, free: 128 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.8008, allocations: 163 kB / 0.5277 GB, free: 128 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007942/0.8087, allocations: 2.43 MB / 0.53 GB, free: 127.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/0.8098, allocations: 1.346 MB / 0.5313 GB, free: 126.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.323e-06/0.8099, allocations: 0 / 0.5313 GB, free: 126.7 MB / 394.7 MB Notification: Performance of Templates: time 0.04885/0.8587, allocations: 24.71 MB / 0.5555 GB, free: 118.3 MB / 394.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