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.001132/0.001131, allocations: 121.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 67.88 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2732, allocations: 50.54 MB / 409.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005419/0.2787, allocations: 5.084 MB / 414.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.2892, allocations: 10.8 MB / 425.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004922/0.2897, allocations: 31.75 kB / 425.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.2912, allocations: 0.6981 MB / 425.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.2936, allocations: 1.015 MB / 426.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.2949, allocations: 0.6037 MB / 427.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001749/0.2967, allocations: 1.389 MB / 428.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.2969, allocations: 169.2 kB / 429 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.2972, allocations: 290.6 kB / 429.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.2976, allocations: 321.9 kB / 429.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.388e-05/0.2976, allocations: 32 kB / 429.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.299, allocations: 0.7531 MB / 430.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.2991, allocations: 107.3 kB / 430.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.2994, allocations: 405.4 kB / 430.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.3007, allocations: 1.265 MB / 432.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3007, allocations: 0 / 432.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3008, allocations: 4 kB / 432.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.3008, allocations: 0 / 432.2 MB, free: 10.55 MB / 350.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.001719/0.3025, allocations: 1.315 MB / 433.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3025, allocations: 8.031 kB / 433.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.3027, allocations: 123.5 kB / 433.6 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000922/0.3036, allocations: 0.7471 MB / 434.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.3036, allocations: 24.5 kB / 434.4 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.716e-05/0.3037, allocations: 24 kB / 434.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005854/0.3043, allocations: 317.3 kB / 434.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3043, allocations: 3.938 kB / 434.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.3043, allocations: 12 kB / 434.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.3044, allocations: 8 kB / 434.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005822/0.3049, allocations: 282.2 kB / 435 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.3067, allocations: 1.361 MB / 436.4 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006187/0.3073, allocations: 294.6 kB / 436.7 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003884/0.3077, allocations: 244.6 kB / 436.9 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002916/0.3106, allocations: 2.801 MB / 439.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003944/0.311, allocations: 215.8 kB / 439.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.3111, allocations: 0 / 439.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001311/0.3124, allocations: 0.627 MB / 440.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.3124, allocations: 51.41 kB / 440.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008038/0.3132, allocations: 0.815 MB / 441.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.3133, allocations: 29.7 kB / 441.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/0.3136, allocations: 444.5 kB / 441.9 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.788e-05/0.3137, allocations: 106.5 kB / 442 MB, free: 68 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.3139, allocations: 69.94 kB / 442.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.314, allocations: 329.9 kB / 442.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.3143, allocations: 120.7 kB / 442.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000434/0.3148, allocations: 226.5 kB / 442.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.3163, allocations: 0.7078 MB / 443.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3164, allocations: 4 kB / 443.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008414/0.3172, allocations: 0.5098 MB / 443.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.3172, allocations: 8 kB / 443.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.128e-05/0.3173, allocations: 32 kB / 444 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/0.3174, allocations: 32.84 kB / 444 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.3178, allocations: 92.16 kB / 444.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.3189, allocations: 1.449 MB / 445.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.3191, allocations: 39.58 kB / 445.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.3192, allocations: 20 kB / 445.6 MB, free: 12.2 MB / 366.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.0002759/0.3195, allocations: 205.7 kB / 445.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.109e-05/0.3196, allocations: 102.8 kB / 445.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009739/0.3206, allocations: 0.4884 MB / 446.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3206, allocations: 4 kB / 446.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.3206, allocations: 4 kB / 446.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3206, allocations: 0 / 446.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/0.3211, allocations: 0.5697 MB / 447 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.292e-05/0.3212, allocations: 35.98 kB / 447 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.3215, allocations: 59.95 kB / 447.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-05/0.3216, allocations: 32.72 kB / 447.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.3216, allocations: 8 kB / 447.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009216/0.3225, allocations: 1.437 MB / 448.5 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3226, allocations: 4 kB / 448.5 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.3237, allocations: 0.6142 MB / 449.2 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.3238, allocations: 179.8 kB / 449.3 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.728e-05/0.3239, allocations: 12 kB / 449.3 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.3242, allocations: 20.2 kB / 449.4 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.3242, allocations: 23.97 kB / 449.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.3243, allocations: 15.94 kB / 449.4 MB, free: 8.145 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005745/0.3248, allocations: 0.5465 MB / 450 MB, free: 7.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3249, allocations: 0 / 450 MB, free: 7.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000583/0.3254, allocations: 235.7 kB / 450.2 MB, free: 7.359 MB / 366.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.0005403/0.326, allocations: 364.1 kB / 450.5 MB, free: 6.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009126/0.3269, allocations: 497.4 kB / 451 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3269, allocations: 4.062 kB / 451 MB, free: 6.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004664/0.3274, allocations: 336.2 kB / 451.4 MB, free: 6.133 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.3279, allocations: 116.2 kB / 451.5 MB, free: 6.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.3305, allocations: 1.656 MB / 453.1 MB, free: 4.332 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.331, allocations: 0.9566 MB / 454.1 MB, free: 3.348 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002234/0.3312, allocations: 85.22 kB / 454.2 MB, free: 3.262 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.123e-05/0.3313, allocations: 47.42 kB / 454.2 MB, free: 3.219 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3314, allocations: 0 / 454.2 MB, free: 3.219 MB / 366.1 MB Notification: Performance of Templates: time 0.01517/0.3465, allocations: 8.279 MB / 462.5 MB, free: 10.97 MB / 382.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