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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 160.1 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.01/1.01, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.584e-05, allocations: 5.484 kB / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005652/0.005678, allocations: 4.803 MB / 278.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.01687, allocations: 10 MB / 288.9 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008739/0.01774, allocations: 43.56 kB / 289 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.01952, allocations: 0.6221 MB / 289.6 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003409/0.02293, allocations: 1.055 MB / 290.6 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.02464, allocations: 0.6132 MB / 291.2 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002161/0.02681, allocations: 1.468 MB / 292.7 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.02703, allocations: 105.7 kB / 292.8 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006928/0.02772, allocations: 0.5769 MB / 293.4 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.02806, allocations: 247.1 kB / 293.6 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.513e-05/0.02812, allocations: 28 kB / 293.7 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.02945, allocations: 0.6712 MB / 294.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.957e-05/0.02955, allocations: 111.2 kB / 294.4 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.02979, allocations: 227.3 kB / 294.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.03122, allocations: 1.082 MB / 295.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.03122, allocations: 0 / 295.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.03122, allocations: 4 kB / 295.7 MB, free: 14.56 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.03123, allocations: 0 / 295.7 MB, free: 14.56 MB / 282.7 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.001631/0.03286, allocations: 1.417 MB / 297.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.0329, allocations: 11.97 kB / 297.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.03306, allocations: 140.2 kB / 297.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006574/0.03372, allocations: 0.7212 MB / 298 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.03374, allocations: 17.03 kB / 298 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.03378, allocations: 28.38 kB / 298.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.03405, allocations: 226.7 kB / 298.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.03406, allocations: 0 / 298.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.03408, allocations: 12 kB / 298.3 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.03409, allocations: 8 kB / 298.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.03424, allocations: 119.1 kB / 298.4 MB, free: 11.78 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.03526, allocations: 1.109 MB / 299.5 MB, free: 10.6 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.03549, allocations: 167.1 kB / 299.7 MB, free: 10.42 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.03561, allocations: 139.9 kB / 299.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/0.03719, allocations: 1.417 MB / 301.3 MB, free: 8.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.03737, allocations: 144.9 kB / 301.4 MB, free: 8.684 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.03737, allocations: 0 / 301.4 MB, free: 8.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005588/0.03793, allocations: 400.2 kB / 301.8 MB, free: 8.281 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.03796, allocations: 55.41 kB / 301.8 MB, free: 8.215 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005235/0.03848, allocations: 0.8831 MB / 302.7 MB, free: 7.312 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.0385, allocations: 29.7 kB / 302.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.03878, allocations: 0.5269 MB / 303.3 MB, free: 6.746 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.03884, allocations: 115.1 kB / 303.4 MB, free: 6.633 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-05/0.03892, allocations: 83.61 kB / 303.5 MB, free: 6.543 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.03902, allocations: 0.4887 MB / 304 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.176e-05/0.03908, allocations: 52.78 kB / 304 MB, free: 5.996 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.03921, allocations: 187.7 kB / 304.2 MB, free: 5.762 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.03948, allocations: 322.3 kB / 304.5 MB, free: 5.391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.03948, allocations: 0 / 304.5 MB, free: 5.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003794/0.03986, allocations: 401.5 kB / 304.9 MB, free: 4.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.03988, allocations: 4 kB / 304.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.963e-05/0.03991, allocations: 43.98 kB / 305 MB, free: 4.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-05/0.04001, allocations: 23.67 kB / 305 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.04021, allocations: 87.89 kB / 305.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007264/0.04093, allocations: 1.752 MB / 306.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.04107, allocations: 43.72 kB / 306.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.0411, allocations: 12 kB / 306.9 MB, free: 2.902 MB / 282.7 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.0001706/0.04127, allocations: 179.4 kB / 307 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-05/0.04135, allocations: 115.3 kB / 307.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004252/0.04177, allocations: 375.7 kB / 307.5 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.04177, allocations: 4 kB / 307.5 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.04178, allocations: 0 / 307.5 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.04178, allocations: 0 / 307.5 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.04209, allocations: 386 kB / 307.9 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-05/0.04212, allocations: 40 kB / 307.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.04228, allocations: 51.92 kB / 308 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.764e-05/0.04234, allocations: 31.66 kB / 308 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.04236, allocations: 8 kB / 308 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006471/0.04301, allocations: 1.748 MB / 309.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.04301, allocations: 4.031 kB / 309.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.04339, allocations: 433.4 kB / 310.2 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.04351, allocations: 115.2 kB / 310.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.04355, allocations: 8 kB / 310.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.04366, allocations: 7.984 kB / 310.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.04371, allocations: 31.89 kB / 310.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.04373, allocations: 12 kB / 310.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002739/0.04401, allocations: 0.4951 MB / 310.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04401, allocations: 0 / 310.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000389/0.04439, allocations: 251.3 kB / 311.1 MB, free: 14.45 MB / 298.7 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.0004247/0.04482, allocations: 408.6 kB / 311.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003913/0.04521, allocations: 427.9 kB / 311.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.04521, allocations: 4 kB / 311.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.04541, allocations: 319.1 kB / 312.3 MB, free: 13.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.04576, allocations: 123.5 kB / 312.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.04739, allocations: 1.541 MB / 313.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.087e-05/0.04747, allocations: 150.1 kB / 314.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.04763, allocations: 85.2 kB / 314.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.04782, allocations: 194.2 kB / 314.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of SimCode: time 6.42e-07/0.04782, allocations: 0 / 314.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of Templates: time 0.01217/0.05999, allocations: 9.645 MB / 324 MB, free: 1.543 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.914138440042734]