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.001464/0.001464, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001466/0.001466, allocations: 167.7 kB / 24.99 MB, free: 8.219 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 0.9753/0.9753, allocations: 177 MB / 205.2 MB, free: 5.527 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.794e-06/1.794e-06, allocations: 0 / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.413e-05, allocations: 2.312 kB / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.00452/0.004544, allocations: 4.89 MB / 277.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009005/0.01355, allocations: 10.17 MB / 288 MB, free: 2.605 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006543/0.0142, allocations: 51.5 kB / 288.1 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.01551, allocations: 0.6185 MB / 288.7 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.01751, allocations: 1.055 MB / 289.8 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.0188, allocations: 0.6057 MB / 290.4 MB, free: 264 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1079/0.1267, allocations: 1.429 MB / 291.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.127, allocations: 108.7 kB / 291.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004997/0.1275, allocations: 423.5 kB / 292.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.1277, allocations: 229.8 kB / 292.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.1278, allocations: 31.81 kB / 292.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.129, allocations: 0.6721 MB / 293.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.82e-05/0.1291, allocations: 108.9 kB / 293.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.1293, allocations: 228.5 kB / 293.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.1306, allocations: 1.052 MB / 294.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1306, allocations: 0.9062 kB / 294.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1306, allocations: 0 / 294.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.1306, allocations: 2.094 kB / 294.6 MB, free: 15.24 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.00139/0.132, allocations: 1.397 MB / 296 MB, free: 14.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.132, allocations: 15.67 kB / 296 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.1321, allocations: 145.2 kB / 296.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007234/0.1329, allocations: 0.7464 MB / 296.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.1329, allocations: 20.09 kB / 296.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.1329, allocations: 28.06 kB / 297 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.1333, allocations: 248.2 kB / 297.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1333, allocations: 7.5 kB / 297.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.1333, allocations: 10.12 kB / 297.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.1334, allocations: 9.453 kB / 297.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.1336, allocations: 145.8 kB / 297.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.1349, allocations: 1.254 MB / 298.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.1352, allocations: 175.5 kB / 298.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.1353, allocations: 155.1 kB / 299 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001782/0.1371, allocations: 1.421 MB / 300.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.1373, allocations: 152.7 kB / 300.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.615e-06/0.1373, allocations: 1.406 kB / 300.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0006898/0.138, allocations: 442 kB / 301 MB, free: 12.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.138, allocations: 62.03 kB / 301 MB, free: 12.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006462/0.1387, allocations: 0.8895 MB / 301.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1387, allocations: 27.08 kB / 301.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.1389, allocations: 0.5099 MB / 302.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.139, allocations: 116.9 kB / 302.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.782e-05/0.1391, allocations: 80.88 kB / 302.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.708e-05/0.1391, allocations: 499.4 kB / 303.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.1392, allocations: 60.88 kB / 303.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.1393, allocations: 198 kB / 303.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.1397, allocations: 363.4 kB / 303.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1397, allocations: 1.281 kB / 303.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004492/0.1401, allocations: 427.6 kB / 304.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1401, allocations: 5.719 kB / 304.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.783e-05/0.1402, allocations: 35.66 kB / 304.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/0.1403, allocations: 37.39 kB / 304.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.1405, allocations: 88.11 kB / 304.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005591/0.1411, allocations: 1.767 MB / 306.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.1412, allocations: 43.78 kB / 306.1 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.1413, allocations: 23.16 kB / 306.2 MB, free: 9 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.0001576/0.1414, allocations: 175.1 kB / 306.3 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.181e-05/0.1415, allocations: 116.8 kB / 306.4 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004549/0.1419, allocations: 403.6 kB / 306.8 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.142, allocations: 3.281 kB / 306.8 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.142, allocations: 0 / 306.8 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.142, allocations: 3.828 kB / 306.8 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.1424, allocations: 0.5061 MB / 307.3 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-05/0.1424, allocations: 40.88 kB / 307.4 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.1426, allocations: 50.14 kB / 307.4 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.321e-05/0.1426, allocations: 31.8 kB / 307.5 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.1427, allocations: 19.33 kB / 307.5 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004167/0.1431, allocations: 1.754 MB / 309.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1431, allocations: 3.375 kB / 309.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/0.1435, allocations: 467.5 kB / 309.7 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1436, allocations: 110.4 kB / 309.8 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.1436, allocations: 8.938 kB / 309.8 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1437, allocations: 12.84 kB / 309.8 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.1438, allocations: 25.48 kB / 309.9 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.1438, allocations: 18.52 kB / 309.9 MB, free: 6.211 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003167/0.1441, allocations: 0.5294 MB / 310.4 MB, free: 5.969 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1441, allocations: 0 / 310.4 MB, free: 5.969 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000515/0.1447, allocations: 248.1 kB / 310.6 MB, free: 5.914 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.0004168/0.1451, allocations: 391.6 kB / 311 MB, free: 5.777 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004182/0.1455, allocations: 448.5 kB / 311.5 MB, free: 5.527 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1455, allocations: 0 / 311.5 MB, free: 5.527 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.1457, allocations: 330.6 kB / 311.8 MB, free: 5.301 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.1461, allocations: 126.1 kB / 311.9 MB, free: 5.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.1477, allocations: 1.545 MB / 313.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.192e-05/0.1478, allocations: 155.6 kB / 313.6 MB, free: 4.371 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.148, allocations: 85.19 kB / 313.7 MB, free: 4.348 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.148, allocations: 42.97 kB / 313.7 MB, free: 4.34 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.148, allocations: 0 / 313.7 MB, free: 4.34 MB / 266.7 MB Notification: Performance of Templates: time 0.01033/0.1584, allocations: 8.317 MB / 322.1 MB, free: 12.95 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: 3.0163079409394413]