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.001384/0.001384, allocations: 105.5 kB / 17.59 MB, free: 5.445 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.001559/0.001559, allocations: 187.6 kB / 18.51 MB, free: 4.527 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.336/1.336, allocations: 222.9 MB / 242.2 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 47.92 kB / 301.3 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08897/0.0901, allocations: 49.45 MB / 350.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008671/0.09881, allocations: 8.317 MB / 359 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01333/0.1122, allocations: 11.29 MB / 370.3 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.1134, allocations: 15.94 kB / 370.4 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1654/0.2788, allocations: 0.8343 MB / 371.2 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004218/0.2831, allocations: 1.223 MB / 372.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.2853, allocations: 0.7008 MB / 373.1 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004302/0.2896, allocations: 2.681 MB / 375.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005156/0.2901, allocations: 350.7 kB / 376.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009828/0.2911, allocations: 0.5479 MB / 376.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007233/0.2919, allocations: 0.6188 MB / 377.3 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.292, allocations: 67.16 kB / 377.4 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.2938, allocations: 0.7786 MB / 378.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.294, allocations: 220.7 kB / 378.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007286/0.2947, allocations: 0.7695 MB / 379.1 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002643/0.2974, allocations: 2.096 MB / 381.2 MB, free: 8.246 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.2974, allocations: 1.156 kB / 381.2 MB, free: 8.246 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2974, allocations: 0 / 381.2 MB, free: 8.246 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.148e-05/0.2974, allocations: 0 / 381.2 MB, free: 8.246 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.003678/0.3011, allocations: 2.216 MB / 383.4 MB, free: 6.973 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3012, allocations: 10.58 kB / 383.5 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.3015, allocations: 224.6 kB / 383.7 MB, free: 6.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.303, allocations: 1.309 MB / 385 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.3031, allocations: 43.19 kB / 385 MB, free: 6.125 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.67e-05/0.3032, allocations: 55.56 kB / 385.1 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.3044, allocations: 0.6912 MB / 385.8 MB, free: 5.832 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.3045, allocations: 4 kB / 385.8 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.651e-05/0.3045, allocations: 22.55 kB / 385.8 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.3046, allocations: 19.34 kB / 385.8 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.3058, allocations: 0.5667 MB / 386.4 MB, free: 5.633 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003258/0.3091, allocations: 2.512 MB / 388.9 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.3103, allocations: 0.6179 MB / 389.5 MB, free: 3.887 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008406/0.3112, allocations: 0.5381 MB / 390.1 MB, free: 3.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009085/0.3203, allocations: 7.513 MB / 397.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008186/0.3211, allocations: 379.3 kB / 397.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 3.677e-06/0.3211, allocations: 0 / 397.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005881/0.327, allocations: 2.08 MB / 400 MB, free: 11.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.3271, allocations: 85.08 kB / 400.1 MB, free: 11.13 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.3289, allocations: 1.438 MB / 401.5 MB, free: 10.33 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.902e-05/0.329, allocations: 43.83 kB / 401.6 MB, free: 10.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006644/0.3297, allocations: 0.7956 MB / 402.4 MB, free: 9.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.3299, allocations: 234.9 kB / 402.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.3301, allocations: 132.6 kB / 402.7 MB, free: 9.301 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3302, allocations: 337.6 kB / 403.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006109/0.3308, allocations: 257.9 kB / 403.3 MB, free: 8.848 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/0.3316, allocations: 455 kB / 403.8 MB, free: 8.477 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.3329, allocations: 0.7391 MB / 404.5 MB, free: 7.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3329, allocations: 0 / 404.5 MB, free: 7.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002287/0.3352, allocations: 1.136 MB / 405.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3352, allocations: 8 kB / 405.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001077/0.3354, allocations: 75.98 kB / 405.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.3365, allocations: 0.6916 MB / 406.4 MB, free: 5.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.337, allocations: 114.6 kB / 406.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.3384, allocations: 1.134 MB / 407.7 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009472/0.3393, allocations: 91.23 kB / 407.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.248e-05/0.3394, allocations: 36 kB / 407.8 MB, free: 4.367 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.000531/0.34, allocations: 285.7 kB / 408.1 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/0.3402, allocations: 197.7 kB / 408.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/0.3425, allocations: 1.092 MB / 409.3 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.3426, allocations: 8 kB / 409.4 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3426, allocations: 0 / 409.4 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3426, allocations: 11.88 kB / 409.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.344, allocations: 0.9739 MB / 410.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001016/0.3441, allocations: 71.98 kB / 410.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/0.3444, allocations: 55.89 kB / 410.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/0.3455, allocations: 0.668 MB / 411.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/0.3456, allocations: 23.98 kB / 411.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.3468, allocations: 1.084 MB / 412.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3468, allocations: 4 kB / 412.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/0.3495, allocations: 1.351 MB / 413.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004725/0.35, allocations: 278.6 kB / 413.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.3502, allocations: 17.11 kB / 413.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/0.3507, allocations: 31.97 kB / 413.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.3508, allocations: 56.25 kB / 414 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/0.3509, allocations: 27.98 kB / 414 MB, free: 14.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001229/0.3521, allocations: 0.9488 MB / 414.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3521, allocations: 0 / 414.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001063/0.3532, allocations: 431.3 kB / 415.4 MB, free: 12.62 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.0007661/0.354, allocations: 477.9 kB / 415.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002132/0.3561, allocations: 0.8709 MB / 416.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3561, allocations: 0 / 416.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.3573, allocations: 0.5289 MB / 417.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.3584, allocations: 214.7 kB / 417.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005225/0.3636, allocations: 3.11 MB / 420.6 MB, free: 7.418 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/0.3644, allocations: 1.22 MB / 421.8 MB, free: 6.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.3646, allocations: 75.44 kB / 421.8 MB, free: 6.086 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3646, allocations: 0 / 421.8 MB, free: 6.086 MB / 334.1 MB Notification: Performance of Templates: time 0.02929/0.3939, allocations: 24.8 MB / 446.6 MB, free: 13.3 MB / 366.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 -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