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.001095/0.001095, allocations: 117.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 208.6 kB / 18.74 MB, free: 4.336 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.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 59.89 kB / 358.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2518, allocations: 50.54 MB / 409.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005727/0.2576, allocations: 5.088 MB / 414.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.2693, allocations: 10.8 MB / 425.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007351/0.2701, allocations: 31.75 kB / 425.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.2718, allocations: 0.6902 MB / 425.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00274/0.2745, allocations: 1.004 MB / 426.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.276, allocations: 0.6153 MB / 427.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.2779, allocations: 1.389 MB / 428.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002532/0.2782, allocations: 165.2 kB / 429 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003002/0.2785, allocations: 290.6 kB / 429.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003303/0.2788, allocations: 317.9 kB / 429.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.911e-05/0.2789, allocations: 32 kB / 429.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.2802, allocations: 0.7531 MB / 430.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.924e-05/0.2803, allocations: 115.2 kB / 430.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003083/0.2806, allocations: 397.5 kB / 430.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.282, allocations: 1.269 MB / 432.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.282, allocations: 4 kB / 432.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.282, allocations: 0 / 432.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.282, allocations: 0 / 432.2 MB, free: 10.59 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.001807/0.2838, allocations: 1.311 MB / 433.5 MB, free: 9.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2839, allocations: 16.03 kB / 433.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.284, allocations: 119.5 kB / 433.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009525/0.285, allocations: 0.7433 MB / 434.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.285, allocations: 28.44 kB / 434.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.2851, allocations: 24 kB / 434.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006211/0.2857, allocations: 317.3 kB / 434.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2857, allocations: 0 / 434.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.2858, allocations: 16 kB / 434.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.2858, allocations: 4 kB / 434.7 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006265/0.2864, allocations: 282.2 kB / 435 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.2882, allocations: 1.361 MB / 436.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006742/0.2889, allocations: 298.5 kB / 436.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004137/0.2893, allocations: 240.7 kB / 436.9 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003088/0.2924, allocations: 2.801 MB / 439.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004315/0.2928, allocations: 215.8 kB / 439.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.893e-06/0.2929, allocations: 0 / 439.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001407/0.2943, allocations: 0.627 MB / 440.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.2943, allocations: 59.39 kB / 440.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008345/0.2952, allocations: 0.8072 MB / 441.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.2952, allocations: 33.64 kB / 441.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.2955, allocations: 444.5 kB / 441.9 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.278e-05/0.2956, allocations: 102.5 kB / 442 MB, free: 116 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.2957, allocations: 73.94 kB / 442 MB, free: 36 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2959, allocations: 333.9 kB / 442.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.2962, allocations: 112.7 kB / 442.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.2965, allocations: 233.7 kB / 442.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.2981, allocations: 0.7078 MB / 443.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2981, allocations: 0 / 443.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009054/0.299, allocations: 0.5098 MB / 443.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.2991, allocations: 8 kB / 443.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.556e-05/0.2991, allocations: 32 kB / 444 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/0.2992, allocations: 32.84 kB / 444 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.2996, allocations: 92.16 kB / 444.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.3007, allocations: 1.449 MB / 445.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.301, allocations: 43.58 kB / 445.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.3011, allocations: 20 kB / 445.6 MB, free: 12.25 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.0002836/0.3013, allocations: 205.7 kB / 445.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.3015, allocations: 102.8 kB / 445.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.3025, allocations: 496.2 kB / 446.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3025, allocations: 8 kB / 446.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.3025, allocations: 0 / 446.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3025, allocations: 0 / 446.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.3031, allocations: 0.5736 MB / 447 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-05/0.3032, allocations: 35.98 kB / 447 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/0.3035, allocations: 55.95 kB / 447.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.049e-05/0.3036, allocations: 28.78 kB / 447.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.3036, allocations: 11.98 kB / 447.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009263/0.3046, allocations: 1.43 MB / 448.5 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3046, allocations: 4.062 kB / 448.5 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.3057, allocations: 0.6141 MB / 449.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.3059, allocations: 187.8 kB / 449.3 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-05/0.306, allocations: 7.984 kB / 449.3 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.3062, allocations: 15.98 kB / 449.3 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.3063, allocations: 28.2 kB / 449.4 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.3064, allocations: 12 kB / 449.4 MB, free: 8.199 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005863/0.307, allocations: 0.5465 MB / 449.9 MB, free: 7.645 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.307, allocations: 3.938 kB / 449.9 MB, free: 7.641 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006113/0.3076, allocations: 235.7 kB / 450.2 MB, free: 7.41 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.0005567/0.3081, allocations: 364.1 kB / 450.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009334/0.3091, allocations: 0.4897 MB / 451 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3091, allocations: 0 / 451 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004888/0.3096, allocations: 336.2 kB / 451.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.3102, allocations: 126.5 kB / 451.5 MB, free: 6.062 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.3127, allocations: 1.645 MB / 453.1 MB, free: 4.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.3132, allocations: 0.9566 MB / 454.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002222/0.3134, allocations: 85.2 kB / 454.1 MB, free: 3.316 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.3135, allocations: 43.44 kB / 454.2 MB, free: 3.277 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3135, allocations: 4 kB / 454.2 MB, free: 3.273 MB / 366.1 MB Notification: Performance of Templates: time 0.015/0.3285, allocations: 8.286 MB / 462.5 MB, free: 11.02 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