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.001413/0.001413, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001494/0.001494, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 0.936/0.936, allocations: 177 MB / 204.8 MB, free: 5.578 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.363e-06/1.363e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.529e-05, allocations: 5.266 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004468/0.004493, allocations: 4.891 MB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008611/0.0131, allocations: 10.19 MB / 288 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005963/0.0137, allocations: 39.56 kB / 288 MB, free: 2.262 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.01501, allocations: 0.6263 MB / 288.7 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.01704, allocations: 1.062 MB / 289.7 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.109/0.1261, allocations: 0.6042 MB / 290.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002067/0.1282, allocations: 1.459 MB / 291.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.1284, allocations: 112.4 kB / 291.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007945/0.1292, allocations: 0.5769 MB / 292.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003839/0.1296, allocations: 243.2 kB / 292.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.109e-05/0.1297, allocations: 31.66 kB / 292.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.131, allocations: 0.6698 MB / 293.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.861e-05/0.1311, allocations: 117.2 kB / 293.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.1314, allocations: 221.3 kB / 293.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.1329, allocations: 1.081 MB / 294.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1329, allocations: 3.375 kB / 294.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1329, allocations: 0.8125 kB / 294.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.517e-05/0.1329, allocations: 0 / 294.8 MB, free: 15.34 MB / 266.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.001702/0.1346, allocations: 1.403 MB / 296.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1347, allocations: 13.31 kB / 296.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.1349, allocations: 142.1 kB / 296.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007468/0.1356, allocations: 0.7169 MB / 297.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.1356, allocations: 23.88 kB / 297.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.1357, allocations: 28.56 kB / 297.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.136, allocations: 250 kB / 297.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1361, allocations: 3.938 kB / 297.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.1361, allocations: 9.688 kB / 297.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.1361, allocations: 12.05 kB / 297.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.1363, allocations: 140.4 kB / 297.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.1376, allocations: 1.259 MB / 298.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.138, allocations: 179.6 kB / 299 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.1381, allocations: 156.6 kB / 299.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001781/0.1399, allocations: 1.421 MB / 300.6 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.1401, allocations: 152.1 kB / 300.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.1401, allocations: 0 / 300.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0006726/0.1408, allocations: 437.7 kB / 301.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.1408, allocations: 55.09 kB / 301.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006766/0.1415, allocations: 0.8932 MB / 302.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1415, allocations: 36.55 kB / 302.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.1417, allocations: 0.5099 MB / 302.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.1418, allocations: 110.6 kB / 302.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.057e-05/0.1419, allocations: 83.19 kB / 302.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.97e-05/0.1419, allocations: 0.4899 MB / 303.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.472e-05/0.142, allocations: 62.2 kB / 303.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.1422, allocations: 203.7 kB / 303.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/0.1425, allocations: 359.6 kB / 303.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1425, allocations: 0 / 303.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004451/0.1429, allocations: 419.9 kB / 304.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.143, allocations: 9.438 kB / 304.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.001e-05/0.143, allocations: 41.53 kB / 304.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000122/0.1431, allocations: 34.09 kB / 304.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.1433, allocations: 81.45 kB / 304.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005161/0.1438, allocations: 1.771 MB / 306.3 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.144, allocations: 40.95 kB / 306.3 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.144, allocations: 22.12 kB / 306.3 MB, free: 8.949 MB / 266.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.0001496/0.1442, allocations: 185.1 kB / 306.5 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/0.1442, allocations: 112.3 kB / 306.6 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004242/0.1447, allocations: 396.7 kB / 307 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1447, allocations: 3.25 kB / 307 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.1447, allocations: 3.406 kB / 307 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1447, allocations: 2.625 kB / 307 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.1451, allocations: 0.5081 MB / 307.5 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-05/0.1451, allocations: 34.55 kB / 307.6 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.1452, allocations: 58.53 kB / 307.6 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.891e-05/0.1453, allocations: 28.34 kB / 307.6 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.1453, allocations: 15.33 kB / 307.7 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004017/0.1457, allocations: 1.758 MB / 309.4 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1457, allocations: 0 / 309.4 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.1461, allocations: 472.4 kB / 309.9 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1462, allocations: 110.5 kB / 310 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.1463, allocations: 14.42 kB / 310 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1464, allocations: 10.22 kB / 310 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.1465, allocations: 26.02 kB / 310 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.1465, allocations: 17.48 kB / 310 MB, free: 6.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003312/0.1468, allocations: 0.5242 MB / 310.6 MB, free: 5.918 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1468, allocations: 0.5625 kB / 310.6 MB, free: 5.918 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004442/0.1473, allocations: 253.4 kB / 310.8 MB, free: 5.863 MB / 266.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.0004024/0.1477, allocations: 386.5 kB / 311.2 MB, free: 5.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000408/0.1481, allocations: 441.5 kB / 311.6 MB, free: 5.488 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1481, allocations: 0 / 311.6 MB, free: 5.488 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.1482, allocations: 336.8 kB / 312 MB, free: 5.254 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1486, allocations: 121 kB / 312.1 MB, free: 5.207 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.1501, allocations: 1.547 MB / 313.6 MB, free: 4.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.002e-05/0.1502, allocations: 152.8 kB / 313.8 MB, free: 4.332 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.1503, allocations: 84.27 kB / 313.9 MB, free: 4.309 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.1504, allocations: 49 kB / 313.9 MB, free: 4.297 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1504, allocations: 0 / 313.9 MB, free: 4.297 MB / 266.7 MB Notification: Performance of Templates: time 0.01195/0.1623, allocations: 9.999 MB / 323.9 MB, free: 10.86 MB / 282.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.9173331828787923]