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.001513/0.001513, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.295/1.295, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0007239/0.000724, allocations: 85.5 kB / 271.2 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002933, allocations: 12 kB / 327.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1946, allocations: 47.58 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.00494/0.1996, allocations: 7.164 MB / 382.3 MB, free: 39.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009879/0.2095, allocations: 10.01 MB / 392.3 MB, free: 31.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.2109, allocations: 15.94 kB / 392.3 MB, free: 31.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.2129, allocations: 0.6524 MB / 392.9 MB, free: 30.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003971/0.2169, allocations: 0.9274 MB / 393.9 MB, free: 29.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.2188, allocations: 478.9 kB / 394.3 MB, free: 29.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003681/0.2225, allocations: 2.422 MB / 396.7 MB, free: 27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005453/0.2231, allocations: 319.1 kB / 397.1 MB, free: 26.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006213/0.2237, allocations: 465.7 kB / 397.5 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004344/0.2241, allocations: 0.5513 MB / 398.1 MB, free: 25.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.779e-05/0.2242, allocations: 40 kB / 398.1 MB, free: 25.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.226, allocations: 0.6401 MB / 398.7 MB, free: 24.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.2261, allocations: 182.8 kB / 398.9 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000581/0.2267, allocations: 0.7124 MB / 399.6 MB, free: 24.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.2278, allocations: 1.523 MB / 401.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2278, allocations: 0 / 401.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2279, allocations: 0 / 401.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.2279, allocations: 0 / 401.2 MB, free: 22.54 MB / 298.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.002464/0.2303, allocations: 1.971 MB / 403.1 MB, free: 20.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2304, allocations: 16.03 kB / 403.1 MB, free: 20.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.2306, allocations: 222.3 kB / 403.4 MB, free: 20.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.232, allocations: 1.304 MB / 404.7 MB, free: 18.9 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.232, allocations: 45.31 kB / 404.7 MB, free: 18.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.969e-05/0.2321, allocations: 55.91 kB / 404.8 MB, free: 18.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.2332, allocations: 0.7095 MB / 405.5 MB, free: 18.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2332, allocations: 4 kB / 405.5 MB, free: 18.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.743e-05/0.2333, allocations: 28 kB / 405.5 MB, free: 18.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.2333, allocations: 19.92 kB / 405.5 MB, free: 18.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.2344, allocations: 0.6103 MB / 406.1 MB, free: 17.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002837/0.2373, allocations: 2.541 MB / 408.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.2383, allocations: 0.6661 MB / 409.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007782/0.2391, allocations: 0.5728 MB / 409.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006367/0.2455, allocations: 7.504 MB / 417.4 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007101/0.2463, allocations: 409.9 kB / 417.8 MB, free: 4.445 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 3.186e-06/0.2463, allocations: 0 / 417.8 MB, free: 4.445 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.005185/0.2515, allocations: 2.156 MB / 420 MB, free: 2.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.2515, allocations: 85.55 kB / 420.1 MB, free: 2.148 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.2529, allocations: 1.419 MB / 421.5 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.2529, allocations: 37.7 kB / 421.5 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004989/0.2534, allocations: 0.8016 MB / 422.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.2536, allocations: 224.8 kB / 422.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.2536, allocations: 12 kB / 422.5 MB, free: 15.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2538, allocations: 334 kB / 422.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005892/0.2544, allocations: 281.8 kB / 423.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000745/0.2551, allocations: 478.2 kB / 423.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.2565, allocations: 0.7753 MB / 424.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.2565, allocations: 4 kB / 424.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002134/0.2587, allocations: 1.179 MB / 425.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.2587, allocations: 4 kB / 425.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.2588, allocations: 83.92 kB / 425.7 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.26, allocations: 0.6955 MB / 426.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.2604, allocations: 123.8 kB / 426.5 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.2617, allocations: 1.108 MB / 427.6 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00065/0.2624, allocations: 103.3 kB / 427.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-05/0.2624, allocations: 32 kB / 427.7 MB, free: 10.22 MB / 314.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.0005473/0.263, allocations: 296.9 kB / 428 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.2632, allocations: 205.5 kB / 428.2 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002289/0.2655, allocations: 1.131 MB / 429.3 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.2655, allocations: 4 kB / 429.3 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2655, allocations: 4 kB / 429.3 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.2655, allocations: 7.984 kB / 429.4 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.2666, allocations: 0.9792 MB / 430.3 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.485e-05/0.2667, allocations: 71.98 kB / 430.4 MB, free: 7.449 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/0.267, allocations: 75.81 kB / 430.5 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/0.2681, allocations: 0.6671 MB / 431.1 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/0.2681, allocations: 27.98 kB / 431.2 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.2693, allocations: 1.073 MB / 432.2 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.2693, allocations: 0 / 432.2 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.2719, allocations: 1.421 MB / 433.7 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/0.2723, allocations: 286.6 kB / 433.9 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.2725, allocations: 12 kB / 434 MB, free: 3.824 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/0.273, allocations: 39.97 kB / 434 MB, free: 3.785 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.2731, allocations: 52.36 kB / 434 MB, free: 3.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.241e-05/0.2732, allocations: 23.98 kB / 434.1 MB, free: 3.711 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00115/0.2743, allocations: 0.9331 MB / 435 MB, free: 2.758 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2743, allocations: 0 / 435 MB, free: 2.758 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008768/0.2752, allocations: 431.4 kB / 435.4 MB, free: 2.336 MB / 314.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.0007594/0.276, allocations: 480 kB / 435.9 MB, free: 1.859 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.278, allocations: 0.9053 MB / 436.8 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.278, allocations: 0 / 436.8 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.2791, allocations: 0.5447 MB / 437.3 MB, free: 396 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000822/0.28, allocations: 178.9 kB / 437.5 MB, free: 212 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005174/0.2852, allocations: 3.478 MB / 441 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006672/0.2858, allocations: 1.224 MB / 442.2 MB, free: 11.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.286, allocations: 71.44 kB / 442.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of SimCode: time 8.91e-07/0.286, allocations: 0 / 442.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of Templates: time 0.03035/0.3164, allocations: 24.64 MB / 466.9 MB, free: 2.707 MB / 346.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/jenkins/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