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.001248/0.001248, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001036/0.001037, allocations: 198 kB / 18.07 MB, free: 5.41 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.282/1.282, allocations: 205.1 MB / 223.9 MB, free: 12.38 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.001267/0.001267, allocations: 55.92 kB / 280 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09289/0.09417, allocations: 46.62 MB / 326.6 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005572/0.09979, allocations: 5.026 MB / 331.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.1108, allocations: 10.66 MB / 342.3 MB, free: 5.141 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007958/0.1117, allocations: 11.94 kB / 342.3 MB, free: 5.129 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.1135, allocations: 0.6172 MB / 342.9 MB, free: 4.508 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003049/0.1166, allocations: 0.7974 MB / 343.7 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.118, allocations: 431.8 kB / 344.1 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001939/0.1199, allocations: 1.307 MB / 345.4 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.1202, allocations: 157.8 kB / 345.6 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002914/0.1205, allocations: 262.6 kB / 345.8 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003089/0.1208, allocations: 306 kB / 346.1 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.556e-05/0.1209, allocations: 20 kB / 346.2 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.1222, allocations: 0.6713 MB / 346.8 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.236e-05/0.1223, allocations: 95.31 kB / 346.9 MB, free: 464 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.1227, allocations: 393.4 kB / 347.3 MB, free: 68 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.1241, allocations: 1.242 MB / 348.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1241, allocations: 0 / 348.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1241, allocations: 0 / 348.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.1241, allocations: 0 / 348.5 MB, free: 14.82 MB / 302.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.00184/0.126, allocations: 1.323 MB / 349.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.126, allocations: 15.97 kB / 349.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.1262, allocations: 119.5 kB / 350 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008482/0.127, allocations: 0.7427 MB / 350.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.127, allocations: 20.55 kB / 350.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.818e-05/0.1271, allocations: 28 kB / 350.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/0.1277, allocations: 317.3 kB / 351.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1278, allocations: 4 kB / 351.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.1278, allocations: 12 kB / 351.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1278, allocations: 8 kB / 351.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006342/0.1285, allocations: 274.2 kB / 351.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.1303, allocations: 1.357 MB / 352.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006764/0.131, allocations: 306.4 kB / 353.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004004/0.1314, allocations: 236.8 kB / 353.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003912/0.1353, allocations: 3.604 MB / 356.9 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004503/0.1358, allocations: 203.2 kB / 357.1 MB, free: 5.508 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 3.076e-06/0.1358, allocations: 3.984 kB / 357.1 MB, free: 5.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001591/0.1374, allocations: 0.7264 MB / 357.8 MB, free: 4.727 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.1375, allocations: 59.34 kB / 357.9 MB, free: 4.656 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008492/0.1383, allocations: 0.8192 MB / 358.7 MB, free: 3.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.1384, allocations: 33.7 kB / 358.7 MB, free: 3.781 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.1387, allocations: 444.5 kB / 359.2 MB, free: 3.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.033e-05/0.1388, allocations: 94.64 kB / 359.3 MB, free: 3.246 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.1389, allocations: 77.92 kB / 359.3 MB, free: 3.164 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.139, allocations: 322 kB / 359.6 MB, free: 2.844 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.1393, allocations: 112.7 kB / 359.8 MB, free: 2.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.1396, allocations: 224 kB / 360 MB, free: 2.469 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005958/0.1402, allocations: 364.9 kB / 360.3 MB, free: 2.066 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.1402, allocations: 0 / 360.3 MB, free: 2.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009664/0.1412, allocations: 0.5171 MB / 360.8 MB, free: 1.535 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.1413, allocations: 8 kB / 360.9 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.242e-05/0.1413, allocations: 36 kB / 360.9 MB, free: 1.492 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002109/0.1415, allocations: 49.69 kB / 360.9 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.1418, allocations: 80.23 kB / 361 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.1438, allocations: 2.643 MB / 363.7 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.1441, allocations: 47.61 kB / 363.7 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.1442, allocations: 16 kB / 363.7 MB, free: 14.39 MB / 318.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 (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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000243/0.1444, allocations: 201.8 kB / 363.9 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.991e-05/0.1445, allocations: 106.7 kB / 364 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.1456, allocations: 497.1 kB / 364.5 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1456, allocations: 0 / 364.5 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.1456, allocations: 11.88 kB / 364.5 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1456, allocations: 0 / 364.5 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000571/0.1462, allocations: 0.5584 MB / 365.1 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-05/0.1463, allocations: 32 kB / 365.1 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.1465, allocations: 39.95 kB / 365.1 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001444/0.1467, allocations: 53.66 kB / 365.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.1467, allocations: 11.94 kB / 365.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.1485, allocations: 2.65 MB / 367.9 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1486, allocations: 0 / 367.9 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.1497, allocations: 0.6073 MB / 368.5 MB, free: 9.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.1499, allocations: 179.8 kB / 368.6 MB, free: 9.074 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.23e-05/0.15, allocations: 8 kB / 368.7 MB, free: 9.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.1503, allocations: 15.98 kB / 368.7 MB, free: 9.051 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/0.1504, allocations: 31.91 kB / 368.7 MB, free: 9.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.1504, allocations: 12.05 kB / 368.7 MB, free: 9.008 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006003/0.151, allocations: 0.5506 MB / 369.3 MB, free: 8.449 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.151, allocations: 0 / 369.3 MB, free: 8.449 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000616/0.1517, allocations: 243.7 kB / 369.5 MB, free: 8.211 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0006676/0.1523, allocations: 352.9 kB / 369.8 MB, free: 7.852 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.1534, allocations: 0.5926 MB / 370.4 MB, free: 7.227 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1534, allocations: 0 / 370.4 MB, free: 7.227 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005939/0.154, allocations: 443.8 kB / 370.9 MB, free: 6.762 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.1546, allocations: 88.34 kB / 371 MB, free: 6.672 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.157, allocations: 1.772 MB / 372.7 MB, free: 4.871 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.1575, allocations: 0.9561 MB / 373.7 MB, free: 3.887 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000268/0.1578, allocations: 81.22 kB / 373.8 MB, free: 3.809 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.783e-05/0.1578, allocations: 47.42 kB / 373.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1578, allocations: 0 / 373.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of Templates: time 0.1554/0.3133, allocations: 7.978 MB / 381.8 MB, free: 53.93 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