Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001022/0.001022, allocations: 111.6 kB / 17.06 MB, free: 6 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.001043/0.001044, allocations: 198.8 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 55.92 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2772, allocations: 49.42 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005319/0.2826, allocations: 5.077 MB / 405.8 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.2939, allocations: 10.77 MB / 416.6 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008765/0.2948, allocations: 35.75 kB / 416.6 MB, free: 8.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001882/0.2968, allocations: 0.6942 MB / 417.3 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003489/0.3003, allocations: 1.015 MB / 418.3 MB, free: 7.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.3022, allocations: 0.6076 MB / 418.9 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002374/0.3046, allocations: 1.361 MB / 420.3 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.305, allocations: 181.2 kB / 420.5 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.3054, allocations: 294.5 kB / 420.7 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003678/0.3057, allocations: 317.9 kB / 421 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.58e-05/0.3058, allocations: 32 kB / 421.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.3078, allocations: 0.7453 MB / 421.8 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.308, allocations: 107.3 kB / 421.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004251/0.3084, allocations: 405.4 kB / 422.3 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.3101, allocations: 1.261 MB / 423.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3101, allocations: 0 / 423.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3102, allocations: 0 / 423.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.3102, allocations: 0 / 423.6 MB, free: 1.891 MB / 334.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.001906/0.3121, allocations: 1.319 MB / 424.9 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3121, allocations: 8.031 kB / 424.9 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.3123, allocations: 119.5 kB / 425 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.3133, allocations: 0.7511 MB / 425.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.3133, allocations: 20.5 kB / 425.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.568e-05/0.3134, allocations: 32 kB / 425.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.3141, allocations: 317.3 kB / 426.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3141, allocations: 4 kB / 426.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.3141, allocations: 8 kB / 426.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.3142, allocations: 8 kB / 426.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006157/0.3148, allocations: 278.2 kB / 426.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.3167, allocations: 1.372 MB / 427.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/0.3173, allocations: 286.6 kB / 428.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.3178, allocations: 248.6 kB / 428.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004201/0.322, allocations: 3.6 MB / 431.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004343/0.3224, allocations: 192.6 kB / 432.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.665e-06/0.3224, allocations: 0 / 432.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001512/0.324, allocations: 0.7265 MB / 432.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.324, allocations: 55.41 kB / 432.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008672/0.3249, allocations: 0.8193 MB / 433.7 MB, free: 6.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.3249, allocations: 25.7 kB / 433.7 MB, free: 6.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.3253, allocations: 448.4 kB / 434.2 MB, free: 6.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.46e-05/0.3253, allocations: 106.5 kB / 434.3 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3255, allocations: 69.92 kB / 434.4 MB, free: 6.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3256, allocations: 329.9 kB / 434.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.3259, allocations: 112.7 kB / 434.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/0.3262, allocations: 236 kB / 435 MB, free: 5.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/0.3268, allocations: 365.6 kB / 435.4 MB, free: 5.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.3268, allocations: 0 / 435.4 MB, free: 5.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009093/0.3277, allocations: 0.5209 MB / 435.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3278, allocations: 4.438 kB / 435.9 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-05/0.3278, allocations: 32 kB / 435.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002239/0.3281, allocations: 57.67 kB / 436 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.3284, allocations: 75.88 kB / 436.1 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.3303, allocations: 2.848 MB / 438.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.3307, allocations: 43.67 kB / 439 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.3307, allocations: 12 kB / 439 MB, free: 1.242 MB / 350.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.0002683/0.331, allocations: 217.6 kB / 439.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.852e-05/0.3311, allocations: 110.7 kB / 439.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.3321, allocations: 485.1 kB / 439.8 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3321, allocations: 4 kB / 439.8 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.3321, allocations: 3.938 kB / 439.8 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3321, allocations: 0 / 439.8 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005747/0.3327, allocations: 0.5622 MB / 440.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.274e-05/0.3328, allocations: 32 kB / 440.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.333, allocations: 47.94 kB / 440.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001531/0.3332, allocations: 53.67 kB / 440.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.3332, allocations: 8 kB / 440.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.335, allocations: 2.848 MB / 443.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.335, allocations: 0 / 443.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.3362, allocations: 0.6004 MB / 443.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.3364, allocations: 179.8 kB / 444.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.3364, allocations: 8 kB / 444.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.3367, allocations: 19.97 kB / 444.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/0.3368, allocations: 23.97 kB / 444.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.3368, allocations: 12.06 kB / 444.2 MB, free: 11.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006173/0.3374, allocations: 0.5506 MB / 444.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3374, allocations: 3.938 kB / 444.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000673/0.3381, allocations: 239.7 kB / 444.9 MB, free: 10.85 MB / 366.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.0005898/0.3387, allocations: 352.2 kB / 445.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.3398, allocations: 0.5986 MB / 445.9 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3398, allocations: 0.875 kB / 445.9 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006336/0.3404, allocations: 435 kB / 446.3 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005198/0.3409, allocations: 115.4 kB / 446.4 MB, free: 9.301 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.3434, allocations: 1.512 MB / 447.9 MB, free: 7.758 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/0.344, allocations: 0.9561 MB / 448.9 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002274/0.3443, allocations: 85.2 kB / 449 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.299e-05/0.3443, allocations: 43.44 kB / 449 MB, free: 6.645 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3444, allocations: 0 / 449 MB, free: 6.645 MB / 366.1 MB Notification: Performance of Templates: time 0.01651/0.3609, allocations: 8.387 MB / 457.4 MB, free: 14.29 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches