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.001149/0.001149, allocations: 113.2 kB / 17.73 MB, free: 5.34 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.001185/0.001185, allocations: 184.2 kB / 18.66 MB, free: 4.414 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.44/1.44, 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.001344/0.001344, allocations: 59.92 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09771, allocations: 46.6 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.2263/0.324, allocations: 5.011 MB / 380.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.335, allocations: 10.45 MB / 390.6 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000728/0.3358, allocations: 29.31 kB / 390.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.3377, allocations: 0.6769 MB / 391.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.3408, allocations: 0.9866 MB / 392.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.3426, allocations: 0.5978 MB / 392.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002192/0.3448, allocations: 1.339 MB / 394.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.3451, allocations: 174.6 kB / 394.4 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003661/0.3455, allocations: 278.2 kB / 394.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003827/0.3459, allocations: 321.9 kB / 395 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.084e-05/0.3459, allocations: 31.78 kB / 395 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.3475, allocations: 0.673 MB / 395.7 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.575e-05/0.3476, allocations: 107.9 kB / 395.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003102/0.348, allocations: 409.1 kB / 396.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.3496, allocations: 1.262 MB / 397.4 MB, free: 1.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3496, allocations: 0 / 397.4 MB, free: 1.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3496, allocations: 1.062 kB / 397.5 MB, free: 1.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.3496, allocations: 0 / 397.5 MB, free: 1.004 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.001956/0.3516, allocations: 1.323 MB / 398.8 MB, free: 56 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3516, allocations: 10.33 kB / 398.8 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.3518, allocations: 116.9 kB / 398.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.3531, allocations: 0.7504 MB / 399.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.3531, allocations: 23.88 kB / 399.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.358e-05/0.3532, allocations: 26.45 kB / 399.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007304/0.3539, allocations: 314.6 kB / 400 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.354, allocations: 2.375 kB / 400 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.354, allocations: 10.12 kB / 400 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.354, allocations: 12.75 kB / 400 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006816/0.3547, allocations: 282 kB / 400.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.3567, allocations: 1.36 MB / 401.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006974/0.3574, allocations: 296.4 kB / 402 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004898/0.3579, allocations: 248.5 kB / 402.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004635/0.3626, allocations: 3.598 MB / 405.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004438/0.3631, allocations: 191.3 kB / 406 MB, free: 10.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 3.226e-06/0.3631, allocations: 5.312 kB / 406 MB, free: 10.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001772/0.3648, allocations: 0.7256 MB / 406.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.3649, allocations: 55.33 kB / 406.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.366, allocations: 0.8206 MB / 407.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.3661, allocations: 30.89 kB / 407.6 MB, free: 9.871 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004017/0.3665, allocations: 450.5 kB / 408.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.55e-05/0.3666, allocations: 99.61 kB / 408.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.3667, allocations: 81.08 kB / 408.2 MB, free: 9.336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3669, allocations: 317.6 kB / 408.5 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.3672, allocations: 116.6 kB / 408.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/0.3676, allocations: 220 kB / 408.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006908/0.3683, allocations: 365 kB / 409.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3683, allocations: 1.094 kB / 409.2 MB, free: 8.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001097/0.3694, allocations: 0.52 MB / 409.7 MB, free: 8.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.3694, allocations: 10.66 kB / 409.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.69e-05/0.3695, allocations: 31.88 kB / 409.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002849/0.3698, allocations: 59 kB / 409.8 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.3701, allocations: 71.34 kB / 409.9 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.3723, allocations: 2.845 MB / 412.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.3726, allocations: 42.61 kB / 412.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.3727, allocations: 19.94 kB / 412.8 MB, free: 5.199 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.0002572/0.3729, allocations: 207.5 kB / 413 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.373, allocations: 108.1 kB / 413.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.3741, allocations: 489.7 kB / 413.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3742, allocations: 2.688 kB / 413.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3742, allocations: 2.516 kB / 413.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3742, allocations: 0 / 413.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006714/0.3749, allocations: 0.563 MB / 414.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.058e-05/0.3749, allocations: 27.88 kB / 414.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.3752, allocations: 55.33 kB / 414.3 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001465/0.3754, allocations: 47.53 kB / 414.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.3754, allocations: 10 kB / 414.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.3773, allocations: 2.852 MB / 417.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3774, allocations: 3.359 kB / 417.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.3786, allocations: 0.6065 MB / 417.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.3789, allocations: 184.7 kB / 418 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.477e-05/0.3789, allocations: 6.5 kB / 418 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.3792, allocations: 16 kB / 418 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.762e-05/0.3793, allocations: 28.62 kB / 418 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.3793, allocations: 12.78 kB / 418 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006814/0.38, allocations: 0.5546 MB / 418.6 MB, free: 340 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.38, allocations: 0 / 418.6 MB, free: 340 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007792/0.3808, 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.0006028/0.3814, allocations: 362 kB / 419.2 MB, free: 72 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.3826, allocations: 0.584 MB / 419.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3826, allocations: 0 / 419.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006031/0.3832, allocations: 439.7 kB / 420.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.3837, allocations: 93.3 kB / 420.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.3861, allocations: 1.514 MB / 421.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.3865, allocations: 0.9549 MB / 422.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002362/0.3868, allocations: 82.48 kB / 422.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.862e-05/0.3869, allocations: 49.81 kB / 422.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3869, allocations: 5.312 kB / 422.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of Templates: time 0.01561/0.4025, allocations: 8.395 MB / 431.3 MB, free: 5.613 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