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.0009494/0.0009494, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.001028/0.001028, allocations: 164.2 kB / 24.82 MB, free: 9.324 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.9741/0.9741, allocations: 177 MB / 205.1 MB, free: 5.426 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 2.104e-06/2.104e-06, allocations: 3.938 kB / 273.3 MB, free: 1.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.258e-05, allocations: 2.312 kB / 273.3 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004447/0.004469, allocations: 4.797 MB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00861/0.01308, allocations: 10 MB / 288.1 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006664/0.01375, allocations: 43.56 kB / 288.2 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.01506, allocations: 0.6224 MB / 288.8 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.01753, allocations: 1.058 MB / 289.9 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.116/0.1335, allocations: 0.6082 MB / 290.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002302/0.1359, allocations: 1.456 MB / 291.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002777/0.1361, allocations: 113.3 kB / 292 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008238/0.137, allocations: 0.5755 MB / 292.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004115/0.1374, allocations: 246.1 kB / 292.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.778e-05/0.1375, allocations: 31.47 kB / 292.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.139, allocations: 0.6731 MB / 293.5 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.571e-05/0.139, allocations: 114 kB / 293.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.1393, allocations: 221.2 kB / 293.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.1407, allocations: 1.077 MB / 295 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1407, allocations: 0 / 295 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1407, allocations: 0 / 295 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.398e-05/0.1407, allocations: 2.094 kB / 295 MB, free: 15.48 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.00188/0.1426, allocations: 1.419 MB / 296.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1426, allocations: 16.95 kB / 296.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.1428, allocations: 146 kB / 296.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007889/0.1436, allocations: 0.7151 MB / 297.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.1437, allocations: 18.56 kB / 297.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.1437, allocations: 30.45 kB / 297.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.144, allocations: 222.6 kB / 297.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.144, allocations: 7.344 kB / 297.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.1441, allocations: 11.36 kB / 297.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.1441, allocations: 7.703 kB / 297.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.1443, allocations: 118.4 kB / 297.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.1455, allocations: 1.113 MB / 298.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.1458, allocations: 164 kB / 298.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.1459, allocations: 137.7 kB / 299.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001832/0.1478, allocations: 1.427 MB / 300.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.1479, allocations: 140.8 kB / 300.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.1479, allocations: 0 / 300.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0006073/0.1485, allocations: 403.2 kB / 301 MB, free: 12.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.1486, allocations: 56.8 kB / 301.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006494/0.1492, allocations: 0.8843 MB / 302 MB, free: 12.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.1492, allocations: 30.45 kB / 302 MB, free: 12.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.1495, allocations: 0.5257 MB / 302.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.1496, allocations: 113.5 kB / 302.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.058e-05/0.1497, allocations: 80.83 kB / 302.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.1497, allocations: 0.4911 MB / 303.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.41e-05/0.1498, allocations: 45.86 kB / 303.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1499, allocations: 188.8 kB / 303.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.1502, allocations: 325 kB / 303.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1502, allocations: 1.281 kB / 303.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003962/0.1506, allocations: 400.3 kB / 304.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1506, allocations: 7.531 kB / 304.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-05/0.1506, allocations: 34.05 kB / 304.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001003/0.1507, allocations: 29.25 kB / 304.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.1509, allocations: 95.16 kB / 304.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005295/0.1514, allocations: 1.749 MB / 306 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.1516, allocations: 37.36 kB / 306.1 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.1516, allocations: 19.28 kB / 306.1 MB, free: 9.621 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.0001482/0.1518, allocations: 190.6 kB / 306.3 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.03e-05/0.1518, allocations: 117.5 kB / 306.4 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.1522, allocations: 364.8 kB / 306.8 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1522, allocations: 6.25 kB / 306.8 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1522, allocations: 3.312 kB / 306.8 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1522, allocations: 9.094 kB / 306.8 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.1525, allocations: 382.4 kB / 307.2 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.551e-05/0.1526, allocations: 40.95 kB / 307.2 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.1527, allocations: 45.69 kB / 307.2 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.415e-05/0.1528, allocations: 27.58 kB / 307.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.1528, allocations: 10.25 kB / 307.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004166/0.1532, allocations: 1.745 MB / 309 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1532, allocations: 2.031 kB / 309 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.1536, allocations: 433 kB / 309.4 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1537, allocations: 113.7 kB / 309.6 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.1537, allocations: 4 kB / 309.6 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1538, allocations: 17.45 kB / 309.6 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.1539, allocations: 31.92 kB / 309.6 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.1539, allocations: 10.38 kB / 309.6 MB, free: 7.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000268/0.1542, allocations: 0.4988 MB / 310.1 MB, free: 6.832 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1542, allocations: 0 / 310.1 MB, free: 6.832 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004907/0.1547, allocations: 255.1 kB / 310.4 MB, free: 6.773 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.0004181/0.1551, allocations: 401.1 kB / 310.8 MB, free: 6.637 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003315/0.1554, allocations: 422.3 kB / 311.2 MB, free: 6.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1554, allocations: 0 / 311.2 MB, free: 6.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.1556, allocations: 325.6 kB / 311.5 MB, free: 6.188 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.1559, allocations: 119.5 kB / 311.6 MB, free: 6.137 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.1575, allocations: 1.539 MB / 313.1 MB, free: 5.348 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.814e-05/0.1576, allocations: 152.8 kB / 313.3 MB, free: 5.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.1577, allocations: 86.73 kB / 313.4 MB, free: 5.246 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.1579, allocations: 198 kB / 313.6 MB, free: 5.148 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1579, allocations: 0 / 313.6 MB, free: 5.148 MB / 266.7 MB Notification: Performance of Templates: time 0.01279/0.1707, allocations: 9.583 MB / 323.2 MB, free: 12.16 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.8940283991396427]