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.00114/0.00114, allocations: 108.4 kB / 18.34 MB, free: 4.809 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.001167/0.001167, allocations: 186.9 kB / 19.28 MB, free: 3.879 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.318/1.318, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.00117/0.00117, allocations: 52.34 kB / 282.1 MB, free: 2.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08527/0.08645, allocations: 46.63 MB / 328.7 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005343/0.09184, allocations: 5.018 MB / 333.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.102, allocations: 10.44 MB / 344.2 MB, free: 4.246 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006943/0.1027, allocations: 31.75 kB / 344.2 MB, free: 4.215 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.1043, allocations: 0.6748 MB / 344.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002544/0.1069, allocations: 0.9944 MB / 345.9 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.1083, allocations: 0.5959 MB / 346.5 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001964/0.1103, allocations: 1.342 MB / 347.8 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.1106, allocations: 177.1 kB / 348 MB, free: 416 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.1109, allocations: 278.6 kB / 348.3 MB, free: 136 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003122/0.1112, allocations: 322 kB / 348.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.202e-05/0.1112, allocations: 32 kB / 348.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.1124, allocations: 0.6752 MB / 349.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.311e-05/0.1125, allocations: 107.3 kB / 349.4 MB, free: 15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003261/0.1129, allocations: 401.4 kB / 349.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.1142, allocations: 1.257 MB / 351 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1142, allocations: 0 / 351 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1142, allocations: 3.938 kB / 351 MB, free: 13.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.1142, allocations: 0 / 351 MB, free: 13.34 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.001796/0.116, allocations: 1.33 MB / 352.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1161, allocations: 8.031 kB / 352.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.1162, allocations: 115.6 kB / 352.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009959/0.1172, allocations: 0.7465 MB / 353.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.1172, allocations: 20.56 kB / 353.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.934e-05/0.1173, allocations: 24 kB / 353.3 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006115/0.1179, allocations: 317.3 kB / 353.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1179, allocations: 4 kB / 353.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.118, allocations: 8 kB / 353.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.118, allocations: 12 kB / 353.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005965/0.1186, allocations: 278.1 kB / 353.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.1204, allocations: 1.353 MB / 355.2 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/0.121, allocations: 298.4 kB / 355.5 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/0.1214, allocations: 248.6 kB / 355.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003893/0.1253, allocations: 3.615 MB / 359.4 MB, free: 4.227 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003964/0.1257, allocations: 195.2 kB / 359.6 MB, free: 4.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.984e-06/0.1257, allocations: 0 / 359.6 MB, free: 4.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001522/0.1272, allocations: 0.7225 MB / 360.3 MB, free: 3.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.1273, allocations: 55.41 kB / 360.4 MB, free: 3.184 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008395/0.1281, allocations: 0.8231 MB / 361.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.1282, allocations: 29.7 kB / 361.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.1285, allocations: 448.5 kB / 361.6 MB, free: 1.863 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.072e-05/0.1286, allocations: 94.64 kB / 361.7 MB, free: 1.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.1287, allocations: 77.92 kB / 361.8 MB, free: 1.688 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.1288, allocations: 318 kB / 362.1 MB, free: 1.371 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.1291, allocations: 112.7 kB / 362.2 MB, free: 1.262 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.1294, allocations: 224.1 kB / 362.4 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006228/0.13, allocations: 364.9 kB / 362.8 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1301, allocations: 3.938 kB / 362.8 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008832/0.1309, allocations: 0.5171 MB / 363.3 MB, free: 60 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.131, allocations: 4 kB / 363.3 MB, free: 56 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-05/0.131, allocations: 32 kB / 363.4 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002182/0.1313, allocations: 61.73 kB / 363.4 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.1316, allocations: 76.28 kB / 363.5 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.1335, allocations: 2.847 MB / 366.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.1338, allocations: 43.8 kB / 366.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.1338, allocations: 23.98 kB / 366.4 MB, free: 12.68 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.0002251/0.1341, allocations: 201.7 kB / 366.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.36e-05/0.1342, allocations: 110.7 kB / 366.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.1352, allocations: 493.9 kB / 367.2 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1352, allocations: 4 kB / 367.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.1352, allocations: 4 kB / 367.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1352, allocations: 4 kB / 367.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.1357, allocations: 0.5583 MB / 367.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.053e-05/0.1358, allocations: 32 kB / 367.8 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.136, allocations: 43.89 kB / 367.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001642/0.1362, allocations: 49.69 kB / 367.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.1362, allocations: 8 kB / 367.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.1381, allocations: 2.844 MB / 370.7 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1381, allocations: 7.812 kB / 370.7 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.1392, allocations: 0.6151 MB / 371.4 MB, free: 7.348 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.1394, allocations: 183.8 kB / 371.5 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.371e-05/0.1395, allocations: 0 / 371.5 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.1398, allocations: 19.97 kB / 371.6 MB, free: 7.129 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.1398, allocations: 23.97 kB / 371.6 MB, free: 7.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.1399, allocations: 12 kB / 371.6 MB, free: 7.094 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000602/0.1405, allocations: 0.5506 MB / 372.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1405, allocations: 0 / 372.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006265/0.1411, allocations: 235.7 kB / 372.4 MB, free: 6.305 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.0006358/0.1418, allocations: 364.3 kB / 372.7 MB, free: 5.941 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009981/0.1428, allocations: 0.5856 MB / 373.3 MB, free: 5.324 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1428, allocations: 0 / 373.3 MB, free: 5.324 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005603/0.1434, allocations: 438.9 kB / 373.7 MB, free: 4.863 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.1438, allocations: 100.4 kB / 373.8 MB, free: 4.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.146, allocations: 1.504 MB / 375.4 MB, free: 3.227 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.1465, allocations: 0.9522 MB / 376.3 MB, free: 2.246 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002162/0.1468, allocations: 93.19 kB / 376.4 MB, free: 2.156 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.486e-05/0.1469, allocations: 43.44 kB / 376.4 MB, free: 2.113 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1469, allocations: 0 / 376.4 MB, free: 2.113 MB / 318.1 MB Notification: Performance of Templates: time 0.1433/0.2901, allocations: 8.33 MB / 384.8 MB, free: 52.7 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches