Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 108 kB / 18.4 MB, free: 4.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 194.3 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 51.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07432/0.0755, allocations: 46.6 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.1632/0.2387, allocations: 8.176 MB / 384 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.2509, allocations: 10.96 MB / 394.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.2527, allocations: 55.28 kB / 395 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002661/0.2554, allocations: 0.8194 MB / 395.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004539/0.2599, allocations: 1.215 MB / 397 MB, free: 148 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.2625, allocations: 0.6955 MB / 397.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0051/0.2677, allocations: 2.645 MB / 400.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006117/0.2683, allocations: 355.2 kB / 400.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009907/0.2693, allocations: 0.5339 MB / 401.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.2705, allocations: 0.617 MB / 401.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002592/0.2708, allocations: 67.03 kB / 401.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.2732, allocations: 0.7137 MB / 402.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002607/0.2734, allocations: 220.5 kB / 402.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.2745, allocations: 0.7663 MB / 403.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003068/0.2776, allocations: 2.117 MB / 405.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2776, allocations: 0 / 405.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2776, allocations: 0 / 405.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.067e-05/0.2777, allocations: 1.719 kB / 405.8 MB, free: 12.36 MB / 334.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.004752/0.2824, allocations: 2.214 MB / 408 MB, free: 10.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2825, allocations: 9.031 kB / 408 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004633/0.283, allocations: 219.6 kB / 408.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.2854, allocations: 1.304 MB / 409.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/0.2854, allocations: 42.83 kB / 409.5 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.2856, allocations: 57.52 kB / 409.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.287, allocations: 0.6906 MB / 410.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.287, allocations: 0 / 410.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/0.2871, allocations: 25.28 kB / 410.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.2871, allocations: 21.36 kB / 410.3 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.2884, allocations: 0.5658 MB / 410.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003965/0.2924, allocations: 2.511 MB / 413.4 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.2936, allocations: 0.6214 MB / 414 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.2947, allocations: 0.5376 MB / 414.6 MB, free: 6.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008737/0.3034, allocations: 7.493 MB / 422.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007762/0.3042, allocations: 379.9 kB / 422.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.675e-06/0.3042, allocations: 0 / 422.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005877/0.3101, allocations: 2.09 MB / 424.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.3102, allocations: 93.53 kB / 424.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.312, allocations: 1.431 MB / 426 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.312, allocations: 37.7 kB / 426.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007042/0.3127, allocations: 0.7938 MB / 426.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.3129, allocations: 228.7 kB / 427.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.3131, allocations: 138.6 kB / 427.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.3132, allocations: 337.9 kB / 427.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005962/0.3139, allocations: 257.8 kB / 427.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006871/0.3145, allocations: 458.2 kB / 428.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.316, allocations: 0.7402 MB / 429 MB, free: 8.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.316, allocations: 4 kB / 429 MB, free: 8.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002234/0.3182, allocations: 1.124 MB / 430.1 MB, free: 7.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3183, allocations: 8 kB / 430.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/0.3184, allocations: 75.98 kB / 430.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.3196, allocations: 0.6954 MB / 430.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.32, allocations: 111.8 kB / 431 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.3214, allocations: 1.128 MB / 432.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008717/0.3223, allocations: 91.3 kB / 432.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.192e-05/0.3224, allocations: 32.88 kB / 432.3 MB, free: 5.301 MB / 350.1 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 (VCC.counter,$PRE.VCC.counter,VEE.counter,$PRE.VEE.counter,VEE.counter2,$PRE.VEE.counter2,VEE.T0,$PRE.VEE.T0,VCC.counter2,$PRE.VCC.counter2,VCC.T0,$PRE.VCC.T0,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0004619/0.3229, allocations: 297.6 kB / 432.6 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/0.3232, allocations: 205.6 kB / 432.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.3255, allocations: 1.09 MB / 433.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/0.3255, allocations: 8 kB / 433.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3255, allocations: 0 / 433.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3255, allocations: 3.984 kB / 433.9 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.3269, allocations: 0.9755 MB / 434.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.571e-05/0.327, allocations: 71.98 kB / 434.9 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.3273, allocations: 63.88 kB / 435 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.3284, allocations: 0.6594 MB / 435.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.289e-05/0.3284, allocations: 27.92 kB / 435.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.3296, allocations: 1.092 MB / 436.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3297, allocations: 0 / 436.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.3324, allocations: 1.351 MB / 438.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004359/0.3329, allocations: 282.5 kB / 438.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/0.3331, allocations: 12 kB / 438.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/0.3336, allocations: 29.28 kB / 438.4 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.3338, allocations: 52.31 kB / 438.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.3338, allocations: 31.98 kB / 438.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001467/0.3353, allocations: 0.9488 MB / 439.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3353, allocations: 0 / 439.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001029/0.3364, allocations: 431.4 kB / 439.9 MB, free: 13.52 MB / 366.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) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008417/0.3372, allocations: 487.3 kB / 440.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002013/0.3392, allocations: 0.8505 MB / 441.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3393, allocations: 0 / 441.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.3405, allocations: 0.5215 MB / 441.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008049/0.3413, allocations: 182.6 kB / 441.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005381/0.3467, allocations: 3.06 MB / 445 MB, free: 8.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000768/0.3475, allocations: 1.216 MB / 446.2 MB, free: 7.121 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.3477, allocations: 79.42 kB / 446.2 MB, free: 7.043 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3477, allocations: 0 / 446.2 MB, free: 7.043 MB / 366.1 MB Notification: Performance of Templates: time 0.0326/0.3803, allocations: 25.22 MB / 471.5 MB, free: 13.79 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches