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.001713/0.001713, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001983/0.001983, allocations: 198 kB / 18.73 MB, free: 4.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2385, allocations: 50.54 MB / 409.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005336/0.2438, allocations: 5.091 MB / 414.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01338/0.2572, allocations: 10.8 MB / 425.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008388/0.2581, allocations: 35.75 kB / 425.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.2607, allocations: 0.6942 MB / 425.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004218/0.2649, allocations: 1.002 MB / 426.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.2668, allocations: 0.6038 MB / 427.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00242/0.2692, allocations: 1.385 MB / 428.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.2695, allocations: 173.2 kB / 429 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.2698, allocations: 290.5 kB / 429.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.2702, allocations: 322 kB / 429.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.859e-05/0.2702, allocations: 32 kB / 429.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.2716, allocations: 0.7453 MB / 430.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.263e-05/0.2717, allocations: 111.2 kB / 430.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.2721, allocations: 405.4 kB / 430.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.2741, allocations: 1.284 MB / 432.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2741, allocations: 0 / 432.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2741, allocations: 0 / 432.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.2741, allocations: 0 / 432.2 MB, free: 10.57 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.002488/0.2766, allocations: 1.349 MB / 433.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.2767, allocations: 8.031 kB / 433.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.2769, allocations: 128.2 kB / 433.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.2783, allocations: 0.7559 MB / 434.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.2783, allocations: 24.48 kB / 434.4 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.489e-05/0.2784, allocations: 32 kB / 434.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008566/0.2793, allocations: 313.3 kB / 434.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.2793, allocations: 0 / 434.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.2794, allocations: 12 kB / 434.8 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.2794, allocations: 12 kB / 434.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008481/0.2802, allocations: 278.2 kB / 435.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.2827, allocations: 1.365 MB / 436.4 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009289/0.2837, allocations: 298.5 kB / 436.7 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/0.2843, allocations: 244.7 kB / 437 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004514/0.2888, allocations: 2.806 MB / 439.8 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005567/0.2894, allocations: 203.8 kB / 440 MB, free: 2.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.765e-06/0.2894, allocations: 0 / 440 MB, free: 2.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001953/0.2914, allocations: 0.6354 MB / 440.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.2914, allocations: 55.41 kB / 440.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.2926, allocations: 0.815 MB / 441.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.2926, allocations: 33.64 kB / 441.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000443/0.2931, allocations: 452.9 kB / 442 MB, free: 124 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.2932, allocations: 103.1 kB / 442.1 MB, free: 20 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.2934, allocations: 77.97 kB / 442.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.2935, allocations: 325.9 kB / 442.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.2939, allocations: 116.7 kB / 442.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.2944, allocations: 222.5 kB / 442.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.2961, allocations: 0.7117 MB / 443.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2961, allocations: 0 / 443.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008582/0.297, allocations: 0.5142 MB / 444 MB, free: 13.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.297, allocations: 4.375 kB / 444 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.321e-05/0.2971, allocations: 47.98 kB / 444.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001178/0.2972, allocations: 32.78 kB / 444.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.2975, allocations: 83.88 kB / 444.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.2986, allocations: 1.445 MB / 445.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.2989, allocations: 39.77 kB / 445.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.299, allocations: 16 kB / 445.7 MB, free: 12.16 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.0002895/0.2993, allocations: 209.8 kB / 445.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/0.2994, allocations: 115.3 kB / 446 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009926/0.3004, allocations: 496.3 kB / 446.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3004, allocations: 4 kB / 446.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.3004, allocations: 0 / 446.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3004, allocations: 0 / 446.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.301, allocations: 0.5774 MB / 447.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.029e-05/0.301, allocations: 32 kB / 447.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.3013, allocations: 63.89 kB / 447.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.729e-05/0.3014, allocations: 28.83 kB / 447.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.3015, allocations: 8 kB / 447.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009064/0.3024, allocations: 1.445 MB / 448.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3024, allocations: 0 / 448.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.3035, allocations: 0.6158 MB / 449.2 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.3036, allocations: 192.3 kB / 449.4 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.351e-05/0.3037, allocations: 4 kB / 449.4 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.304, allocations: 15.98 kB / 449.4 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.079e-05/0.304, allocations: 27.97 kB / 449.5 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.3041, allocations: 15.98 kB / 449.5 MB, free: 8.078 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005598/0.3046, allocations: 0.5426 MB / 450 MB, free: 7.527 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3047, allocations: 0 / 450 MB, free: 7.527 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005569/0.3052, allocations: 247.4 kB / 450.3 MB, free: 7.285 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.000548/0.3058, allocations: 351.9 kB / 450.6 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008793/0.3067, allocations: 496.7 kB / 451.1 MB, free: 6.422 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3067, allocations: 0 / 451.1 MB, free: 6.422 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004544/0.3071, allocations: 336.9 kB / 451.4 MB, free: 6.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.3077, allocations: 131.6 kB / 451.6 MB, free: 5.949 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.3103, allocations: 1.689 MB / 453.3 MB, free: 4.227 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.3108, allocations: 0.9528 MB / 454.2 MB, free: 3.246 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002276/0.311, allocations: 89.19 kB / 454.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.655e-05/0.3111, allocations: 43.44 kB / 454.3 MB, free: 3.117 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3111, allocations: 4 kB / 454.3 MB, free: 3.113 MB / 366.1 MB Notification: Performance of Templates: time 0.01447/0.3256, allocations: 8.275 MB / 462.6 MB, free: 10.87 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