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.001277/0.001277, allocations: 97.39 kB / 16.93 MB, free: 5.984 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.001374/0.001374, allocations: 176.2 kB / 17.82 MB, free: 5.652 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.558/1.558, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004676/0.0004676, allocations: 16 kB / 280.7 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1044, allocations: 47.57 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004372/0.1088, allocations: 4.085 MB / 332.4 MB, free: 0 / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.1192, allocations: 9.067 MB / 341.5 MB, free: 6.906 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007803/0.12, allocations: 4 kB / 341.5 MB, free: 6.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.1219, allocations: 0.6028 MB / 342.1 MB, free: 6.297 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003205/0.1251, allocations: 0.8411 MB / 342.9 MB, free: 5.453 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.1266, allocations: 419.3 kB / 343.3 MB, free: 5.043 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00266/0.1293, allocations: 1.249 MB / 344.6 MB, free: 3.793 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003692/0.1297, allocations: 155.8 kB / 344.7 MB, free: 3.629 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004479/0.1301, allocations: 234.8 kB / 345 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.1305, allocations: 282.2 kB / 345.2 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.1305, allocations: 16 kB / 345.2 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.1324, allocations: 0.6674 MB / 345.9 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.357e-05/0.1325, allocations: 87.42 kB / 346 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.1327, allocations: 197.1 kB / 346.2 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008974/0.1336, allocations: 0.8689 MB / 347.1 MB, free: 1.281 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1336, allocations: 0 / 347.1 MB, free: 1.281 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1336, allocations: 0 / 347.1 MB, free: 1.281 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.1336, allocations: 4 kB / 347.1 MB, free: 1.277 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.001981/0.1356, allocations: 1.199 MB / 348.3 MB, free: 28 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.1357, allocations: 12.03 kB / 348.3 MB, free: 16 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.1358, allocations: 118.6 kB / 348.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.1369, allocations: 0.7 MB / 349.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.1369, allocations: 20.56 kB / 349.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.137, allocations: 24 kB / 349.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006039/0.1376, allocations: 325.3 kB / 349.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1376, allocations: 3.938 kB / 349.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.1376, allocations: 19.92 kB / 349.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.1377, allocations: 11.98 kB / 349.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006125/0.1383, allocations: 290.2 kB / 349.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.1402, allocations: 1.38 MB / 351.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006643/0.1409, allocations: 314.8 kB / 351.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004081/0.145, allocations: 3.616 MB / 355.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004249/0.1454, allocations: 208.2 kB / 355.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.344e-06/0.1454, allocations: 0 / 355.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001617/0.1471, allocations: 0.8497 MB / 356.1 MB, free: 7.375 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.1471, allocations: 55.41 kB / 356.2 MB, free: 7.309 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00086/0.148, allocations: 0.8036 MB / 357 MB, free: 6.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.148, allocations: 33.7 kB / 357 MB, free: 6.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.1484, allocations: 444.5 kB / 357.5 MB, free: 6.008 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.056e-05/0.1485, allocations: 98.62 kB / 357.6 MB, free: 5.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/0.1485, allocations: 12 kB / 357.6 MB, free: 5.898 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1486, allocations: 322 kB / 357.9 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.1489, allocations: 124.7 kB / 358 MB, free: 5.457 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.1493, allocations: 236 kB / 358.2 MB, free: 5.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.1496, allocations: 147.9 kB / 358.4 MB, free: 5.035 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1496, allocations: 4 kB / 358.4 MB, free: 5.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009201/0.1505, allocations: 0.5444 MB / 358.9 MB, free: 4.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.1506, allocations: 4 kB / 358.9 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.774e-05/0.1506, allocations: 32 kB / 359 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/0.1508, allocations: 49.69 kB / 359 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.1512, allocations: 88.25 kB / 359.1 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.153, allocations: 2.654 MB / 361.7 MB, free: 1.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.1533, allocations: 55.58 kB / 361.8 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.1534, allocations: 23.94 kB / 361.8 MB, free: 1.293 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.0002916/0.1537, allocations: 197.7 kB / 362 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.1538, allocations: 106.8 kB / 362.1 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.1549, allocations: 0.5166 MB / 362.6 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1549, allocations: 4 kB / 362.6 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.155, allocations: 0 / 362.6 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.155, allocations: 4 kB / 362.6 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005887/0.1556, allocations: 0.5506 MB / 363.2 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.799e-05/0.1556, allocations: 31.94 kB / 363.2 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.1559, allocations: 43.95 kB / 363.3 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/0.156, allocations: 53.58 kB / 363.3 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.156, allocations: 16 kB / 363.3 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/0.1577, allocations: 2.651 MB / 366 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1577, allocations: 4.031 kB / 366 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.1589, allocations: 0.627 MB / 366.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.1591, allocations: 187.8 kB / 366.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-05/0.1592, allocations: 7.938 kB / 366.8 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.1594, allocations: 20.05 kB / 366.8 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.1595, allocations: 31.95 kB / 366.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.1595, allocations: 15.95 kB / 366.9 MB, free: 11.85 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005937/0.1601, allocations: 0.535 MB / 367.4 MB, free: 11.31 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1601, allocations: 3.938 kB / 367.4 MB, free: 11.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006693/0.1608, allocations: 243.6 kB / 367.7 MB, free: 11.07 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.0005197/0.1613, allocations: 344.5 kB / 368 MB, free: 10.72 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.1624, allocations: 0.6049 MB / 368.6 MB, free: 10.08 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1624, allocations: 0 / 368.6 MB, free: 10.08 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005821/0.163, allocations: 450.9 kB / 369 MB, free: 9.609 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.1633, allocations: 96.38 kB / 369.1 MB, free: 9.512 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.1658, allocations: 1.741 MB / 370.9 MB, free: 7.742 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.1663, allocations: 0.9756 MB / 371.8 MB, free: 6.738 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002723/0.1666, allocations: 77.22 kB / 371.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.68e-05/0.1666, allocations: 43.42 kB / 372 MB, free: 6.621 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1666, allocations: 0 / 372 MB, free: 6.621 MB / 318.1 MB Notification: Performance of Templates: time 0.182/0.3487, allocations: 7.617 MB / 379.6 MB, free: 53.36 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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