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.001474/0.001474, allocations: 106.4 kB / 17.73 MB, free: 5.355 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.001596/0.001596, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.417/1.417, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001365/0.001366, allocations: 47.92 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09372/0.0951, allocations: 46.61 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.2146/0.3098, allocations: 5.007 MB / 380.1 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.3208, allocations: 10.44 MB / 390.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009024/0.3219, allocations: 30.34 kB / 390.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.3241, allocations: 0.6784 MB / 391.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003914/0.328, allocations: 0.9977 MB / 392.3 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.33, allocations: 0.5979 MB / 392.9 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002366/0.3324, allocations: 1.342 MB / 394.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.3328, allocations: 175.2 kB / 394.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004109/0.3332, allocations: 282.2 kB / 394.7 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003682/0.3336, allocations: 311.2 kB / 395 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.627e-05/0.3336, allocations: 32.28 kB / 395 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.3355, allocations: 0.6797 MB / 395.7 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.3356, allocations: 110.2 kB / 395.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.3359, allocations: 402.2 kB / 396.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.3379, allocations: 1.267 MB / 397.5 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.338, allocations: 3.938 kB / 397.5 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.338, allocations: 0 / 397.5 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.338, allocations: 1.406 kB / 397.5 MB, free: 0.9922 MB / 318.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.001994/0.34, allocations: 1.324 MB / 398.8 MB, free: 44 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.34, allocations: 10.53 kB / 398.8 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.3402, allocations: 116.8 kB / 398.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.3414, allocations: 0.7435 MB / 399.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.3414, allocations: 19.8 kB / 399.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.836e-05/0.3415, allocations: 32.78 kB / 399.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007147/0.3422, allocations: 315.1 kB / 400 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3423, allocations: 4 kB / 400 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.3423, allocations: 10.73 kB / 400 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.3423, allocations: 8.797 kB / 400 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006796/0.343, allocations: 272.8 kB / 400.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.3451, allocations: 1.369 MB / 401.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007549/0.3459, allocations: 299.5 kB / 402 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/0.3463, allocations: 254 kB / 402.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004344/0.3507, allocations: 3.59 MB / 405.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004435/0.3511, allocations: 189.1 kB / 406 MB, free: 10.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.895e-06/0.3512, allocations: 0 / 406 MB, free: 10.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001783/0.3529, allocations: 0.722 MB / 406.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.353, allocations: 63.06 kB / 406.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.3541, allocations: 0.8253 MB / 407.6 MB, free: 9.898 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.3542, allocations: 30.8 kB / 407.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.3545, allocations: 450.9 kB / 408.1 MB, free: 9.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.791e-05/0.3546, allocations: 99 kB / 408.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.3548, allocations: 72.67 kB / 408.2 MB, free: 9.336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3549, allocations: 321.4 kB / 408.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.3552, allocations: 112.7 kB / 408.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.3555, allocations: 221.3 kB / 408.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006557/0.3562, allocations: 364.2 kB / 409.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.3562, allocations: 2 kB / 409.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001096/0.3573, allocations: 0.5241 MB / 409.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3574, allocations: 6.594 kB / 409.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.652e-05/0.3574, allocations: 35.5 kB / 409.8 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002324/0.3577, allocations: 50.91 kB / 409.9 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.358, allocations: 80.42 kB / 409.9 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.3602, allocations: 2.848 MB / 412.8 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004367/0.3606, allocations: 48.17 kB / 412.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/0.3607, allocations: 14.97 kB / 412.8 MB, free: 5.191 MB / 334.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.000384/0.3611, allocations: 203.5 kB / 413 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.3612, allocations: 103.4 kB / 413.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.3624, allocations: 0.4942 MB / 413.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3624, allocations: 7.094 kB / 413.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3624, allocations: 1.375 kB / 413.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3624, allocations: 0 / 413.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007657/0.3632, allocations: 0.5537 MB / 414.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.835e-05/0.3633, allocations: 33.19 kB / 414.2 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.3635, allocations: 43.58 kB / 414.3 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001774/0.3637, allocations: 51.59 kB / 414.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.3638, allocations: 8.219 kB / 414.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/0.366, allocations: 2.841 MB / 417.2 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.366, allocations: 1.219 kB / 417.2 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.3672, allocations: 0.6137 MB / 417.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.3675, allocations: 185.2 kB / 418 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.467e-05/0.3676, allocations: 11.06 kB / 418 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.3678, allocations: 14.95 kB / 418 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3679, allocations: 29.08 kB / 418 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.3679, allocations: 10.47 kB / 418 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007697/0.3687, allocations: 0.5497 MB / 418.6 MB, free: 340 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3687, allocations: 0 / 418.6 MB, free: 340 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.001009/0.3697, allocations: 235 kB / 418.8 MB, free: 292 kB / 334.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.0006547/0.3704, allocations: 362.9 kB / 419.2 MB, free: 72 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.3715, allocations: 0.5937 MB / 419.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3715, allocations: 0 / 419.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000609/0.3721, allocations: 438.5 kB / 420.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.3726, allocations: 98.39 kB / 420.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.3753, allocations: 1.512 MB / 421.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.3759, allocations: 0.9567 MB / 422.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002666/0.3761, allocations: 89.28 kB / 422.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.855e-05/0.3762, allocations: 42.94 kB / 422.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3762, allocations: 0 / 422.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of Templates: time 0.01572/0.392, allocations: 8.391 MB / 431.3 MB, free: 5.617 MB / 350.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","/var/lib/jenkins/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