Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001394/0.001394, allocations: 118 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001694/0.001694, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 60.09 kB / 306.4 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.101, allocations: 50.54 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005545/0.1066, allocations: 5.101 MB / 362.1 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1555/0.2622, allocations: 10.68 MB / 372.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005979/0.2628, allocations: 9.312 kB / 372.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.2645, allocations: 0.6441 MB / 373.4 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002382/0.2669, allocations: 0.8466 MB / 374.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.2681, allocations: 0.5252 MB / 374.8 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001648/0.2697, allocations: 1.388 MB / 376.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002414/0.27, allocations: 182.1 kB / 376.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.2702, allocations: 285 kB / 376.6 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.2705, allocations: 315.2 kB / 376.9 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.2705, allocations: 33.81 kB / 377 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.2717, allocations: 0.75 MB / 377.7 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.751e-05/0.2718, allocations: 106.6 kB / 377.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.2721, allocations: 410 kB / 378.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.2734, allocations: 1.258 MB / 379.5 MB, free: 7.938 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2734, allocations: 0 / 379.5 MB, free: 7.938 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2734, allocations: 0 / 379.5 MB, free: 7.938 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.2734, allocations: 0 / 379.5 MB, free: 7.938 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001605/0.275, allocations: 1.327 MB / 380.8 MB, free: 7.086 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2751, allocations: 9.094 kB / 380.8 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.2752, allocations: 113.6 kB / 380.9 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008377/0.2761, allocations: 0.7451 MB / 381.7 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.2761, allocations: 25.31 kB / 381.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.2762, allocations: 28.92 kB / 381.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006264/0.2768, allocations: 318.6 kB / 382 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2768, allocations: 2.203 kB / 382 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.2768, allocations: 15.3 kB / 382.1 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.2769, allocations: 7.484 kB / 382.1 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00061/0.2775, allocations: 277 kB / 382.3 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.2792, allocations: 1.376 MB / 383.7 MB, free: 5.605 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/0.2798, allocations: 289.4 kB / 384 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/0.2802, allocations: 242.7 kB / 384.2 MB, free: 5.375 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002748/0.283, allocations: 2.8 MB / 387 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004191/0.2834, allocations: 207.6 kB / 387.2 MB, free: 2.902 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.903e-06/0.2834, allocations: 0 / 387.2 MB, free: 2.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001402/0.2848, allocations: 0.6264 MB / 387.9 MB, free: 2.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.2849, allocations: 62.12 kB / 387.9 MB, free: 2.523 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008017/0.2857, allocations: 0.8163 MB / 388.7 MB, free: 2.184 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.2857, allocations: 32.23 kB / 388.8 MB, free: 2.148 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.286, allocations: 437.7 kB / 389.2 MB, free: 1.797 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.286, allocations: 104 kB / 389.3 MB, free: 1.719 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.2861, allocations: 74.95 kB / 389.4 MB, free: 1.676 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.033e-05/0.2862, allocations: 323 kB / 389.7 MB, free: 1.363 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.2865, allocations: 118.9 kB / 389.8 MB, free: 1.324 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.2868, allocations: 220.3 kB / 390 MB, free: 1.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.2882, allocations: 0.7176 MB / 390.7 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2882, allocations: 1.219 kB / 390.7 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008607/0.2891, allocations: 0.5124 MB / 391.2 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2891, allocations: 14.88 kB / 391.3 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.435e-05/0.2892, allocations: 34.56 kB / 391.3 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.2893, allocations: 34.05 kB / 391.3 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.2896, allocations: 79.92 kB / 391.4 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009633/0.2906, allocations: 1.445 MB / 392.8 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.2909, allocations: 51.05 kB / 392.9 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.291, allocations: 18.75 kB / 392.9 MB, free: 15.09 MB / 318.1 MB Warning: Assuming fixed start value for the following 1 variables: Q1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002881/0.2913, allocations: 211.1 kB / 393.1 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.2914, allocations: 107.4 kB / 393.2 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.2925, allocations: 491.6 kB / 393.7 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.2925, allocations: 3.266 kB / 393.7 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.2925, allocations: 5 kB / 393.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2925, allocations: 1.875 kB / 393.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005931/0.2931, allocations: 0.568 MB / 394.3 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.683e-05/0.2932, allocations: 32.44 kB / 394.3 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.2935, allocations: 54.19 kB / 394.4 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.523e-05/0.2936, allocations: 31.62 kB / 394.4 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.2936, allocations: 9.531 kB / 394.4 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009543/0.2946, allocations: 1.443 MB / 395.9 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2946, allocations: 1.312 kB / 395.9 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.2958, allocations: 0.6096 MB / 396.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.296, allocations: 185.3 kB / 396.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.365e-05/0.296, allocations: 6.75 kB / 396.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.2963, allocations: 18.84 kB / 396.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.2964, allocations: 25.72 kB / 396.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.2964, allocations: 13.62 kB / 396.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006585/0.2971, allocations: 0.5444 MB / 397.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2971, allocations: 0 / 397.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006971/0.2978, allocations: 237.9 kB / 397.5 MB, free: 11.93 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Q1.vbe,Q1.vbc,Q1.vbx) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005784/0.2984, allocations: 364.9 kB / 397.8 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000927/0.2993, allocations: 0.4924 MB / 398.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2993, allocations: 0 / 398.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005062/0.2998, allocations: 336.7 kB / 398.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006233/0.3005, allocations: 122.4 kB / 398.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.3034, allocations: 1.911 MB / 400.7 MB, free: 9.957 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.3039, allocations: 0.9615 MB / 401.7 MB, free: 9.137 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000306/0.3042, allocations: 85.62 kB / 401.7 MB, free: 9.094 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.666e-05/0.3043, allocations: 43.47 kB / 401.8 MB, free: 9.086 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3043, allocations: 4 kB / 401.8 MB, free: 9.082 MB / 318.1 MB Notification: Performance of Templates: time 0.01512/0.3195, allocations: 8.15 MB / 409.9 MB, free: 2 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches