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.001264/0.001264, allocations: 177.5 kB / 17.41 MB, free: 4.414 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.413/1.413, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.0007509/0.000751, allocations: 89.03 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004751, allocations: 12 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2488, allocations: 47.57 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1315/0.3804, allocations: 91.49 MB / 467.2 MB, free: 5.121 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/0.3808, allocations: 79.95 kB / 467.3 MB, free: 5.043 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2774/0.6583, allocations: 56.86 MB / 0.5119 GB, free: 94.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6583, allocations: 4 kB / 0.5119 GB, free: 94.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.348e-05/0.6584, allocations: 31.33 kB / 0.5119 GB, free: 94.38 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.002939/0.6613, allocations: 2.056 MB / 0.5139 GB, free: 93.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.6614, allocations: 11.66 kB / 0.5139 GB, free: 93.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/0.6616, allocations: 218.2 kB / 0.5141 GB, free: 93.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.6631, allocations: 1.348 MB / 0.5154 GB, free: 92.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.6631, allocations: 43.03 kB / 0.5155 GB, free: 92.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.469e-05/0.6632, allocations: 56.58 kB / 0.5155 GB, free: 92.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.6643, allocations: 0.7155 MB / 0.5162 GB, free: 92.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.6643, allocations: 0 / 0.5162 GB, free: 92.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.351e-05/0.6643, allocations: 23.31 kB / 0.5163 GB, free: 92.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.6644, allocations: 22.91 kB / 0.5163 GB, free: 92.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.6655, allocations: 0.6117 MB / 0.5169 GB, free: 91.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002714/0.6682, allocations: 2.583 MB / 0.5194 GB, free: 90.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009546/0.6691, allocations: 0.6671 MB / 0.52 GB, free: 90.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006857/0.6698, allocations: 0.5631 MB / 0.5206 GB, free: 89.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006727/0.6766, allocations: 8.661 MB / 0.5291 GB, free: 82.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006387/0.6772, allocations: 409.3 kB / 0.5294 GB, free: 81.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 1.984e-06/0.6772, allocations: 3.938 kB / 0.5295 GB, free: 81.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=67): time 0.004577/0.6818, allocations: 2.145 MB / 0.5315 GB, free: 80.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.6819, allocations: 88.17 kB / 0.5316 GB, free: 80.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.6831, allocations: 1.487 MB / 0.5331 GB, free: 80.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.6832, allocations: 41.69 kB / 0.5331 GB, free: 80.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/0.6836, allocations: 0.8015 MB / 0.5339 GB, free: 79.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.6837, allocations: 224.8 kB / 0.5341 GB, free: 78.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.6837, allocations: 16 kB / 0.5341 GB, free: 78.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.748e-05/0.6838, allocations: 337.9 kB / 0.5345 GB, free: 78.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004758/0.6843, allocations: 269.9 kB / 0.5347 GB, free: 78.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005215/0.6848, allocations: 478.2 kB / 0.5352 GB, free: 77.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.6859, allocations: 0.7793 MB / 0.5359 GB, free: 76.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.6859, allocations: 0 / 0.5359 GB, free: 76.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001563/0.6874, allocations: 1.178 MB / 0.5371 GB, free: 75.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.6875, allocations: 5.094 kB / 0.5371 GB, free: 75.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.265e-05/0.6875, allocations: 76 kB / 0.5372 GB, free: 75.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009098/0.6885, allocations: 0.6881 MB / 0.5378 GB, free: 74.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.6889, allocations: 127.8 kB / 0.538 GB, free: 74.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000944/0.6898, allocations: 1.131 MB / 0.5391 GB, free: 73.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/0.6904, allocations: 91.31 kB / 0.5391 GB, free: 73.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/0.6904, allocations: 47.92 kB / 0.5392 GB, free: 73.57 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.0003487/0.6908, allocations: 292.8 kB / 0.5395 GB, free: 73.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.6909, allocations: 197.7 kB / 0.5397 GB, free: 73.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.6929, allocations: 1.172 MB / 0.5408 GB, free: 71.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.6929, allocations: 4 kB / 0.5408 GB, free: 71.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6929, allocations: 0 / 0.5408 GB, free: 71.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.6929, allocations: 3.984 kB / 0.5408 GB, free: 71.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008331/0.6938, allocations: 1.003 MB / 0.5418 GB, free: 70.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.967e-05/0.6939, allocations: 67.98 kB / 0.5419 GB, free: 70.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.6942, allocations: 79.88 kB / 0.5419 GB, free: 70.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008336/0.695, allocations: 0.6663 MB / 0.5426 GB, free: 70.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.271e-05/0.6951, allocations: 19.98 kB / 0.5426 GB, free: 69.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008855/0.696, allocations: 1.088 MB / 0.5437 GB, free: 68.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.696, allocations: 3.938 kB / 0.5437 GB, free: 68.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.698, allocations: 1.448 MB / 0.5451 GB, free: 67.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/0.6983, allocations: 290.6 kB / 0.5454 GB, free: 67.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.6985, allocations: 16 kB / 0.5454 GB, free: 67.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004365/0.6989, allocations: 45.89 kB / 0.5454 GB, free: 67.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.699, allocations: 56.3 kB / 0.5455 GB, free: 66.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.6991, allocations: 27.94 kB / 0.5455 GB, free: 66.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008991/0.7, allocations: 0.9839 MB / 0.5465 GB, free: 65.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7, allocations: 0 / 0.5465 GB, free: 65.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008306/0.7008, allocations: 491 kB / 0.5469 GB, free: 65.48 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.0007501/0.7016, allocations: 0.5571 MB / 0.5475 GB, free: 64.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.7031, allocations: 0.8896 MB / 0.5483 GB, free: 64.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.7032, allocations: 0 / 0.5483 GB, free: 64.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008925/0.7041, allocations: 0.5409 MB / 0.5489 GB, free: 63.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006635/0.7047, allocations: 183 kB / 0.549 GB, free: 63.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.7088, allocations: 3.459 MB / 0.5524 GB, free: 59.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.7093, allocations: 1.221 MB / 0.5536 GB, free: 58.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.7094, allocations: 83.44 kB / 0.5537 GB, free: 58.46 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7094, allocations: 0 / 0.5537 GB, free: 58.46 MB / 378.7 MB Notification: Performance of Templates: time 0.6039/1.313, allocations: 25.72 MB / 0.5788 GB, free: 32.75 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