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.001043/0.001043, allocations: 93.25 kB / 17.3 MB, free: 6.395 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.001341/0.001341, allocations: 172.5 kB / 18.2 MB, free: 5.551 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.334/1.334, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.000417/0.000417, allocations: 12.33 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09027/0.0907, allocations: 47.59 MB / 329 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004346/0.09508, allocations: 4.613 MB / 333.6 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.1057, allocations: 10.52 MB / 344.1 MB, free: 4.555 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007386/0.1065, allocations: 11.94 kB / 344.1 MB, free: 4.543 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.1083, allocations: 0.6172 MB / 344.7 MB, free: 3.922 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002791/0.1111, allocations: 0.8052 MB / 345.5 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.1125, allocations: 431.8 kB / 345.9 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001916/0.1144, allocations: 1.299 MB / 347.2 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002808/0.1147, allocations: 153.8 kB / 347.4 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.115, allocations: 254.5 kB / 347.6 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/0.1153, allocations: 294 kB / 347.9 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.1154, allocations: 16 kB / 347.9 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.1168, allocations: 0.6674 MB / 348.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.271e-05/0.1169, allocations: 91.27 kB / 348.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003816/0.1173, allocations: 411.1 kB / 349.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.1186, allocations: 1.222 MB / 350.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1186, allocations: 4 kB / 350.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1186, allocations: 0 / 350.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1187, allocations: 4 kB / 350.3 MB, free: 14.26 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.001791/0.1205, allocations: 1.191 MB / 351.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1205, allocations: 8.031 kB / 351.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.1207, allocations: 119.5 kB / 351.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009664/0.1216, allocations: 0.7543 MB / 352.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.1217, allocations: 20.56 kB / 352.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.51e-05/0.1217, allocations: 28 kB / 352.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006629/0.1224, allocations: 325.3 kB / 352.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1224, allocations: 0 / 352.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.1225, allocations: 8 kB / 352.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.1225, allocations: 16 kB / 352.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006897/0.1232, allocations: 298.2 kB / 353.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.125, allocations: 1.365 MB / 354.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006813/0.1257, allocations: 330.4 kB / 354.8 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004057/0.1261, allocations: 252.8 kB / 355 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003693/0.1298, allocations: 3.604 MB / 358.6 MB, free: 5.207 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000399/0.1302, allocations: 203.2 kB / 358.8 MB, free: 4.996 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 3.026e-06/0.1302, allocations: 4 kB / 358.8 MB, free: 4.992 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001575/0.1318, allocations: 0.7622 MB / 359.6 MB, free: 4.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.1319, allocations: 59.39 kB / 359.6 MB, free: 4.109 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008355/0.1327, allocations: 0.8114 MB / 360.5 MB, free: 3.281 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.1327, allocations: 37.69 kB / 360.5 MB, free: 3.238 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/0.1331, allocations: 440.5 kB / 360.9 MB, free: 2.801 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.098e-05/0.1332, allocations: 102.5 kB / 361 MB, free: 2.699 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.1332, allocations: 37.7 kB / 361.1 MB, free: 2.656 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.1333, allocations: 318 kB / 361.4 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.1336, allocations: 128.7 kB / 361.5 MB, free: 2.215 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.134, allocations: 240 kB / 361.7 MB, free: 1.934 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006455/0.1346, allocations: 384.9 kB / 362.1 MB, free: 1.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1346, allocations: 7.938 kB / 362.1 MB, free: 1.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009445/0.1356, allocations: 0.5327 MB / 362.6 MB, free: 0.957 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1356, allocations: 4.406 kB / 362.7 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.948e-05/0.1357, allocations: 43.98 kB / 362.7 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002118/0.1359, allocations: 57.69 kB / 362.8 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.1362, allocations: 75.83 kB / 362.8 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.138, allocations: 2.65 MB / 365.5 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.1383, allocations: 43.67 kB / 365.5 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.1384, allocations: 20 kB / 365.5 MB, free: 13.79 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.0002547/0.1386, allocations: 205.8 kB / 365.7 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.801e-05/0.1387, allocations: 102.8 kB / 365.8 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.1399, allocations: 0.5167 MB / 366.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1399, allocations: 4 kB / 366.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1399, allocations: 3.938 kB / 366.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1399, allocations: 0 / 366.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000563/0.1405, allocations: 0.5506 MB / 366.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.273e-05/0.1405, allocations: 36 kB / 367 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.1408, allocations: 43.97 kB / 367 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001415/0.1409, allocations: 57.61 kB / 367.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.141, allocations: 12 kB / 367.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.1428, allocations: 2.638 MB / 369.7 MB, free: 9.289 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1428, allocations: 7.922 kB / 369.7 MB, free: 9.281 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.1441, allocations: 0.6348 MB / 370.3 MB, free: 8.621 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.1443, allocations: 183.7 kB / 370.5 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-05/0.1444, allocations: 8.062 kB / 370.5 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.1446, allocations: 27.91 kB / 370.6 MB, free: 8.387 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.1447, allocations: 31.91 kB / 370.6 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.1447, allocations: 8 kB / 370.6 MB, free: 8.348 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006212/0.1454, allocations: 0.5506 MB / 371.1 MB, free: 7.789 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1454, allocations: 0 / 371.1 MB, free: 7.789 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006244/0.146, allocations: 231.8 kB / 371.4 MB, free: 7.562 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.0005528/0.1466, allocations: 356.3 kB / 371.7 MB, free: 7.199 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.1476, allocations: 0.6091 MB / 372.3 MB, free: 6.559 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1477, allocations: 4.062 kB / 372.3 MB, free: 6.555 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006559/0.1483, allocations: 446.9 kB / 372.8 MB, free: 6.086 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.1488, allocations: 96.39 kB / 372.9 MB, free: 5.988 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.1514, allocations: 1.839 MB / 374.7 MB, free: 4.125 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/0.152, allocations: 0.9522 MB / 375.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002747/0.1523, allocations: 85.2 kB / 375.7 MB, free: 3.062 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/0.1523, allocations: 43.38 kB / 375.8 MB, free: 3.02 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1523, allocations: 4 kB / 375.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of Templates: time 0.1656/0.3179, allocations: 7.947 MB / 383.7 MB, free: 52.44 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