Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001514/0.001514, allocations: 119.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001607/0.001607, allocations: 206.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.44/1.44, allocations: 227.7 MB / 247.9 MB, free: 10.25 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 63.89 kB / 359.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2215, allocations: 50.55 MB / 410.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006089/0.2276, allocations: 5.099 MB / 415.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.2399, allocations: 10.83 MB / 426.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007465/0.2407, allocations: 27.81 kB / 426.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00179/0.2425, allocations: 0.7019 MB / 426.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.2453, allocations: 1.01 MB / 427.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.2468, allocations: 0.6076 MB / 428.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002133/0.2489, allocations: 1.385 MB / 429.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.2492, allocations: 117.2 kB / 430 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.2495, allocations: 286.6 kB / 430.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.2499, allocations: 325.9 kB / 430.6 MB, free: 13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.686e-05/0.2499, allocations: 32 kB / 430.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.2513, allocations: 0.7454 MB / 431.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.2514, allocations: 111.3 kB / 431.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003486/0.2517, allocations: 397.4 kB / 431.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.2533, allocations: 1.284 MB / 433.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2533, allocations: 4 kB / 433.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2533, allocations: 0 / 433.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.669e-06/0.2534, allocations: 0 / 433.1 MB, free: 10.43 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.002042/0.2554, allocations: 1.353 MB / 434.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2554, allocations: 8.031 kB / 434.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.2556, allocations: 120.2 kB / 434.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.2567, allocations: 0.7559 MB / 435.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.2567, allocations: 20.5 kB / 435.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.233e-05/0.2568, allocations: 32 kB / 435.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006638/0.2574, allocations: 317.3 kB / 435.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.2575, allocations: 4 kB / 435.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.2575, allocations: 11.94 kB / 435.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.2575, allocations: 8 kB / 435.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006632/0.2582, allocations: 274.2 kB / 436 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.2602, allocations: 1.373 MB / 437.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006921/0.2609, allocations: 274.5 kB / 437.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/0.2613, allocations: 216.8 kB / 437.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003546/0.2649, allocations: 2.798 MB / 440.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004517/0.2653, allocations: 219.2 kB / 440.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.2653, allocations: 0 / 440.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0015/0.2668, allocations: 0.6276 MB / 441.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.2669, allocations: 59.34 kB / 441.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009639/0.2679, allocations: 0.8073 MB / 442.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.2679, allocations: 41.64 kB / 442.4 MB, free: 488 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.2683, allocations: 440.9 kB / 442.9 MB, free: 44 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.2684, allocations: 119.2 kB / 443 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.2685, allocations: 73.98 kB / 443 MB, free: 15.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.2687, allocations: 325.7 kB / 443.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.269, allocations: 120.7 kB / 443.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/0.2694, allocations: 218.5 kB / 443.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.271, allocations: 0.7119 MB / 444.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.271, allocations: 0 / 444.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009988/0.272, allocations: 0.514 MB / 444.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.272, allocations: 4.375 kB / 444.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.804e-05/0.2721, allocations: 43.98 kB / 445 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001256/0.2722, allocations: 32.84 kB / 445 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.2726, allocations: 83.81 kB / 445.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.2738, allocations: 1.445 MB / 446.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/0.2741, allocations: 43.77 kB / 446.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.2742, allocations: 16 kB / 446.6 MB, free: 12.07 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.0003291/0.2745, allocations: 212.6 kB / 446.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.2746, allocations: 115.3 kB / 446.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.2757, allocations: 484.3 kB / 447.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.2758, allocations: 4 kB / 447.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2758, allocations: 3.938 kB / 447.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2758, allocations: 3.938 kB / 447.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006479/0.2764, allocations: 0.5734 MB / 448 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.193e-05/0.2765, allocations: 40 kB / 448 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.2768, allocations: 59.94 kB / 448.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-05/0.2769, allocations: 28.84 kB / 448.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.2769, allocations: 8 kB / 448.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.278, allocations: 1.445 MB / 449.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.278, allocations: 0 / 449.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.2793, allocations: 0.6197 MB / 450.2 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.2796, allocations: 184.4 kB / 450.3 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.293e-05/0.2796, allocations: 4 kB / 450.3 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.2799, allocations: 19.97 kB / 450.4 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.557e-05/0.28, allocations: 23.97 kB / 450.4 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.28, allocations: 20 kB / 450.4 MB, free: 7.992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007084/0.2807, allocations: 0.5387 MB / 450.9 MB, free: 7.445 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2807, allocations: 0 / 450.9 MB, free: 7.445 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000636/0.2813, allocations: 247.4 kB / 451.2 MB, free: 7.203 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.0006623/0.282, allocations: 361 kB / 451.5 MB, free: 6.836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009802/0.283, allocations: 468.8 kB / 452 MB, free: 6.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.283, allocations: 0 / 452 MB, free: 6.359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005307/0.2835, allocations: 325.7 kB / 452.3 MB, free: 6.023 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.2841, allocations: 120.2 kB / 452.4 MB, free: 5.906 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.287, allocations: 1.693 MB / 454.1 MB, free: 4.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005839/0.2876, allocations: 0.9528 MB / 455.1 MB, free: 3.199 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002512/0.2878, allocations: 89.19 kB / 455.2 MB, free: 3.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.718e-05/0.2879, allocations: 43.44 kB / 455.2 MB, free: 3.07 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2879, allocations: 0 / 455.2 MB, free: 3.07 MB / 366.1 MB Notification: Performance of Templates: time 0.01707/0.305, allocations: 8.328 MB / 463.5 MB, free: 10.78 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches