Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 97.19 kB / 16.95 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 183.9 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 224 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004446, allocations: 19.98 kB / 280.8 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1166, allocations: 47.58 MB / 328.4 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004937/0.1215, allocations: 4.348 MB / 332.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.1325, allocations: 9.5 MB / 342.2 MB, free: 6.164 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006221/0.1331, allocations: 7.938 kB / 342.2 MB, free: 6.156 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.1349, allocations: 0.5711 MB / 342.8 MB, free: 5.582 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.1372, allocations: 0.7413 MB / 343.5 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.1384, allocations: 403 kB / 343.9 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002101/0.1405, allocations: 1.241 MB / 345.2 MB, free: 3.195 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003239/0.1409, allocations: 155.8 kB / 345.3 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.1412, allocations: 234.8 kB / 345.5 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.1415, allocations: 286.2 kB / 345.8 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.69e-05/0.1416, allocations: 23.98 kB / 345.8 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.143, allocations: 0.6167 MB / 346.5 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.1432, allocations: 83.39 kB / 346.5 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.1433, allocations: 193.1 kB / 346.7 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009556/0.1443, allocations: 0.8959 MB / 347.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1443, allocations: 0 / 347.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1443, allocations: 0 / 347.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.1443, allocations: 0 / 347.6 MB, free: 0.7031 MB / 286.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.001898/0.1462, allocations: 1.21 MB / 348.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.1463, allocations: 8.031 kB / 348.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.1464, allocations: 122.5 kB / 349 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009462/0.1474, allocations: 0.7001 MB / 349.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.1474, allocations: 16.56 kB / 349.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.106e-05/0.1475, allocations: 28 kB / 349.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000628/0.1481, allocations: 325.3 kB / 350 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1482, allocations: 3.938 kB / 350 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.1482, allocations: 12 kB / 350 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.1482, allocations: 15.98 kB / 350.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006462/0.1489, allocations: 290.2 kB / 350.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.1508, allocations: 1.368 MB / 351.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007016/0.1515, allocations: 322.8 kB / 352 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004202/0.1519, allocations: 248.7 kB / 352.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004212/0.1561, allocations: 3.612 MB / 355.9 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004567/0.1566, allocations: 204.3 kB / 356.1 MB, free: 7.477 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 4.378e-06/0.1566, allocations: 0 / 356.1 MB, free: 7.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001622/0.1582, allocations: 0.7666 MB / 356.8 MB, free: 6.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1583, allocations: 55.41 kB / 356.9 MB, free: 6.594 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.1593, allocations: 0.8036 MB / 357.7 MB, free: 5.773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.1594, allocations: 33.7 kB / 357.7 MB, free: 5.734 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/0.1598, allocations: 444.5 kB / 358.2 MB, free: 5.293 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.033e-05/0.1599, allocations: 94.64 kB / 358.3 MB, free: 5.199 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.1599, allocations: 8 kB / 358.3 MB, free: 5.191 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1601, allocations: 322 kB / 358.6 MB, free: 4.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.1604, allocations: 128.7 kB / 358.7 MB, free: 4.746 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.1608, allocations: 236 kB / 358.9 MB, free: 4.469 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/0.1611, allocations: 148 kB / 359.1 MB, free: 4.324 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1611, allocations: 4 kB / 359.1 MB, free: 4.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000995/0.1621, allocations: 0.5443 MB / 359.6 MB, free: 3.762 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.1622, allocations: 4 kB / 359.6 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.581e-05/0.1622, allocations: 35.98 kB / 359.7 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002973/0.1625, allocations: 49.69 kB / 359.7 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.1629, allocations: 88.3 kB / 359.8 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.165, allocations: 2.643 MB / 362.4 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.1652, allocations: 55.62 kB / 362.5 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.1653, allocations: 20 kB / 362.5 MB, free: 0.5938 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002744/0.1656, allocations: 209.6 kB / 362.7 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.592e-05/0.1657, allocations: 102.8 kB / 362.8 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.1668, allocations: 0.5129 MB / 363.3 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.1669, allocations: 4 kB / 363.3 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1669, allocations: 0 / 363.3 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.1669, allocations: 7.984 kB / 363.3 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006317/0.1675, allocations: 0.5505 MB / 363.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-05/0.1676, allocations: 35.98 kB / 363.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.1678, allocations: 47.92 kB / 364 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/0.168, allocations: 49.69 kB / 364 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/0.168, allocations: 7.984 kB / 364 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/0.1699, allocations: 2.646 MB / 366.7 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.17, allocations: 0 / 366.7 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.1711, allocations: 0.6271 MB / 367.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.1713, allocations: 183.7 kB / 367.5 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.362e-05/0.1714, allocations: 8 kB / 367.5 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.1716, allocations: 15.98 kB / 367.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.453e-05/0.1717, allocations: 31.91 kB / 367.5 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.1717, allocations: 16.06 kB / 367.6 MB, free: 11.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006346/0.1724, allocations: 0.5428 MB / 368.1 MB, free: 10.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1724, allocations: 3.938 kB / 368.1 MB, free: 10.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006848/0.1731, allocations: 235.7 kB / 368.3 MB, free: 10.38 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * 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 (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005633/0.1736, allocations: 340.3 kB / 368.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.1747, allocations: 0.6052 MB / 369.3 MB, free: 9.398 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1747, allocations: 3.938 kB / 369.3 MB, free: 9.395 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005896/0.1753, allocations: 454.9 kB / 369.7 MB, free: 8.918 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006804/0.176, allocations: 96.33 kB / 369.8 MB, free: 8.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.1788, allocations: 1.715 MB / 371.5 MB, free: 7.074 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.1794, allocations: 0.9522 MB / 372.5 MB, free: 6.094 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002937/0.1797, allocations: 89.19 kB / 372.6 MB, free: 6.008 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.561e-05/0.1798, allocations: 39.44 kB / 372.6 MB, free: 5.969 MB / 318.1 MB Notification: Performance of SimCode: time 2.305e-06/0.1798, allocations: 0 / 372.6 MB, free: 5.969 MB / 318.1 MB Notification: Performance of Templates: time 0.1912/0.371, allocations: 7.788 MB / 380.4 MB, free: 53.09 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches