Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.00107/0.00107, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001094/0.001094, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 58.64 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08878/0.08982, allocations: 49.44 MB / 351.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007902/0.09776, allocations: 8.316 MB / 359.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.1096, allocations: 11.3 MB / 371.1 MB, free: 12 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.1498/0.2594, allocations: 55.33 kB / 371.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.2621, allocations: 0.8315 MB / 372 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004323/0.2665, allocations: 1.23 MB / 373.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.2685, allocations: 0.7026 MB / 373.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003985/0.2725, allocations: 2.687 MB / 376.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004927/0.273, allocations: 352.7 kB / 377 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008861/0.2739, allocations: 0.5524 MB / 377.5 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006219/0.2745, allocations: 0.6242 MB / 378.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.2746, allocations: 66.78 kB / 378.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.2764, allocations: 0.7806 MB / 379 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.2766, allocations: 220.1 kB / 379.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005908/0.2772, allocations: 0.7667 MB / 380 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.2795, allocations: 2.112 MB / 382.1 MB, free: 8.184 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2795, allocations: 4 kB / 382.1 MB, free: 8.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2795, allocations: 3.938 kB / 382.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.248e-05/0.2795, allocations: 1 kB / 382.1 MB, free: 8.176 MB / 302.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.003442/0.283, allocations: 2.212 MB / 384.3 MB, free: 6.836 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.283, allocations: 9.938 kB / 384.3 MB, free: 6.836 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002697/0.2833, allocations: 221.3 kB / 384.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.2851, allocations: 1.3 MB / 385.8 MB, free: 6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.2851, allocations: 40.19 kB / 385.9 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.2852, allocations: 62.66 kB / 385.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.2864, allocations: 0.6858 MB / 386.6 MB, free: 5.684 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.2864, allocations: 1.406 kB / 386.6 MB, free: 5.684 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-05/0.2865, allocations: 26.16 kB / 386.6 MB, free: 5.664 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.2865, allocations: 20.64 kB / 386.7 MB, free: 5.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.2877, allocations: 0.5606 MB / 387.2 MB, free: 5.488 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003227/0.291, allocations: 2.505 MB / 389.7 MB, free: 3.984 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.2921, allocations: 0.6294 MB / 390.4 MB, free: 3.621 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007801/0.2929, allocations: 0.541 MB / 390.9 MB, free: 3.332 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008171/0.301, allocations: 7.491 MB / 398.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007906/0.3019, allocations: 387.9 kB / 398.8 MB, free: 11.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.726e-06/0.3019, allocations: 1.125 kB / 398.8 MB, free: 11.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005697/0.3076, allocations: 2.078 MB / 400.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.3077, allocations: 87.05 kB / 400.9 MB, free: 10.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/0.3094, allocations: 1.437 MB / 402.4 MB, free: 9.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/0.3095, allocations: 36.55 kB / 402.4 MB, free: 9.781 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006145/0.3101, allocations: 0.8027 MB / 403.2 MB, free: 9.062 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.3103, allocations: 224.3 kB / 403.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.3105, allocations: 138.6 kB / 403.6 MB, free: 8.727 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3106, allocations: 337.9 kB / 403.9 MB, free: 8.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005565/0.3112, allocations: 249.9 kB / 404.1 MB, free: 8.145 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006716/0.3119, allocations: 460.7 kB / 404.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.3132, allocations: 0.7336 MB / 405.3 MB, free: 6.805 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.3132, allocations: 4 kB / 405.3 MB, free: 6.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002095/0.3153, allocations: 1.132 MB / 406.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3153, allocations: 8 kB / 406.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001082/0.3154, allocations: 76.72 kB / 406.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.3166, allocations: 0.6952 MB / 407.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.317, allocations: 116.7 kB / 407.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.3183, allocations: 1.128 MB / 408.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009414/0.3192, allocations: 91.25 kB / 408.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.329e-05/0.3193, allocations: 43.98 kB / 408.6 MB, free: 3.473 MB / 318.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.0005432/0.3199, allocations: 285.6 kB / 408.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.3202, allocations: 201.7 kB / 409.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.3224, allocations: 1.095 MB / 410.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.3225, allocations: 7.984 kB / 410.2 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3225, allocations: 0 / 410.2 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.3225, allocations: 3.938 kB / 410.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.3239, allocations: 0.9765 MB / 411.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.661e-05/0.3239, allocations: 68 kB / 411.2 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.3243, allocations: 59.88 kB / 411.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.3254, allocations: 0.6711 MB / 412 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/0.3254, allocations: 20 kB / 412 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.3267, allocations: 1.095 MB / 413.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3267, allocations: 0 / 413.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002533/0.3292, allocations: 1.351 MB / 414.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005616/0.3298, allocations: 286.6 kB / 414.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.33, allocations: 12 kB / 414.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/0.3304, allocations: 31.95 kB / 414.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.3306, allocations: 52.31 kB / 414.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.06e-05/0.3307, allocations: 23.98 kB / 414.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001276/0.3319, allocations: 0.9449 MB / 415.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3319, allocations: 0 / 415.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001107/0.3331, allocations: 435.4 kB / 416.2 MB, free: 11.73 MB / 334.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.0007973/0.3339, allocations: 482.7 kB / 416.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001915/0.3358, allocations: 0.8609 MB / 417.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3358, allocations: 0 / 417.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.3369, allocations: 0.5214 MB / 418 MB, free: 9.891 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009955/0.3379, allocations: 210.2 kB / 418.2 MB, free: 9.684 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004852/0.3428, allocations: 3.025 MB / 421.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006747/0.3435, allocations: 1.212 MB / 422.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004324/0.3439, allocations: 166 kB / 422.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.344, allocations: 83.42 kB / 422.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.344, allocations: 0 / 422.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of Templates: time 0.02677/0.3708, allocations: 16.07 MB / 438.8 MB, free: 5.188 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkDifferentialPair/Spice3BenchmarkDifferentialPair.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches