Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001777/0.001777, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002105/0.002105, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.58 kB / 307 MB, free: 0.5625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09689/0.09885, allocations: 50.54 MB / 357.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006198/0.1051, allocations: 5.081 MB / 362.6 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1628/0.2679, allocations: 10.8 MB / 373.4 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005957/0.2685, allocations: 11.09 kB / 373.4 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.2701, allocations: 0.6906 MB / 374.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.2727, allocations: 1.005 MB / 375.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.2743, allocations: 0.612 MB / 375.7 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001887/0.2762, allocations: 1.374 MB / 377.1 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002512/0.2764, allocations: 172.8 kB / 377.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.2767, allocations: 276.8 kB / 377.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.277, allocations: 330.7 kB / 377.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.327e-05/0.2771, allocations: 31.72 kB / 377.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.2784, allocations: 0.7471 MB / 378.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.754e-05/0.2785, allocations: 111.5 kB / 378.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.2788, allocations: 401.1 kB / 379.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.2802, allocations: 1.254 MB / 380.4 MB, free: 7.945 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2802, allocations: 6.875 kB / 380.4 MB, free: 7.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2802, allocations: 0 / 380.4 MB, free: 7.941 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.2802, allocations: 1.125 kB / 380.4 MB, free: 7.941 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.001568/0.2818, allocations: 1.321 MB / 381.7 MB, free: 7.094 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.2818, allocations: 12.25 kB / 381.7 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.282, allocations: 114.1 kB / 381.9 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007983/0.2828, allocations: 0.7464 MB / 382.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.2828, allocations: 18.25 kB / 382.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.703e-05/0.2829, allocations: 31.05 kB / 382.6 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005851/0.2834, allocations: 318.5 kB / 383 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.2835, allocations: 1.5 kB / 383 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.2835, allocations: 9.844 kB / 383 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.2835, allocations: 11.64 kB / 383 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006297/0.2842, allocations: 277.8 kB / 383.3 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.2858, allocations: 1.38 MB / 384.6 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006514/0.2865, allocations: 294.9 kB / 384.9 MB, free: 5.414 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003917/0.2869, allocations: 246.2 kB / 385.2 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002751/0.2896, allocations: 2.796 MB / 388 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000384/0.29, allocations: 204.7 kB / 388.2 MB, free: 2.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.714e-06/0.29, allocations: 0 / 388.2 MB, free: 2.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001335/0.2914, allocations: 0.6288 MB / 388.8 MB, free: 2.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.2914, allocations: 55.19 kB / 388.8 MB, free: 2.461 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007796/0.2922, allocations: 0.8108 MB / 389.7 MB, free: 2.125 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.2922, allocations: 30.8 kB / 389.7 MB, free: 2.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.2925, allocations: 451.1 kB / 390.1 MB, free: 1.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.2926, allocations: 97.52 kB / 390.2 MB, free: 1.656 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.974e-05/0.2927, allocations: 74.22 kB / 390.3 MB, free: 1.613 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.157e-05/0.2927, allocations: 323.5 kB / 390.6 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.293, allocations: 116.5 kB / 390.7 MB, free: 1.266 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.2933, allocations: 222.5 kB / 390.9 MB, free: 1.102 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.2947, allocations: 0.7185 MB / 391.7 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2948, allocations: 1.625 kB / 391.7 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008622/0.2956, allocations: 0.5084 MB / 392.2 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2957, allocations: 7.578 kB / 392.2 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.458e-05/0.2957, allocations: 39.7 kB / 392.2 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/0.2958, allocations: 31.55 kB / 392.2 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.2962, allocations: 91.19 kB / 392.3 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.2973, allocations: 1.448 MB / 393.8 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.2976, allocations: 47.61 kB / 393.8 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.2977, allocations: 18.22 kB / 393.8 MB, free: 15.03 MB / 318.1 MB Warning: Assuming fixed start value for the following 1 variables: Q1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002958/0.298, allocations: 203.3 kB / 394 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.2981, allocations: 107.4 kB / 394.1 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.2992, allocations: 497.5 kB / 394.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2993, allocations: 2.188 kB / 394.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2993, allocations: 1.094 kB / 394.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2993, allocations: 3.75 kB / 394.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000653/0.2999, allocations: 0.562 MB / 395.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.441e-05/0.3, allocations: 32.81 kB / 395.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.3003, allocations: 68.12 kB / 395.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.835e-05/0.3004, allocations: 29.59 kB / 395.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.3005, allocations: 9.812 kB / 395.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.3016, allocations: 1.434 MB / 396.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3016, allocations: 7.875 kB / 396.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.3028, allocations: 0.6116 MB / 397.4 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.303, allocations: 182 kB / 397.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-05/0.3031, allocations: 5.531 kB / 397.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.3034, allocations: 20.09 kB / 397.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/0.3035, allocations: 29.34 kB / 397.6 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.3035, allocations: 17.16 kB / 397.6 MB, free: 12.1 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006495/0.3041, allocations: 0.5444 MB / 398.2 MB, free: 11.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3041, allocations: 0 / 398.2 MB, free: 11.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006588/0.3048, allocations: 242.3 kB / 398.4 MB, free: 11.73 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Q1.vbe,Q1.vbc,Q1.vbx) * 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0005549/0.3054, allocations: 359.2 kB / 398.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.3064, allocations: 0.4914 MB / 399.3 MB, free: 11.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3064, allocations: 0 / 399.3 MB, free: 11.26 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005419/0.307, allocations: 339.4 kB / 399.6 MB, free: 11.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000622/0.3076, allocations: 115.9 kB / 399.7 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.3105, allocations: 1.68 MB / 401.4 MB, free: 9.988 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/0.311, allocations: 0.9616 MB / 402.4 MB, free: 9.168 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002877/0.3113, allocations: 89.66 kB / 402.4 MB, free: 9.121 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.3114, allocations: 44.31 kB / 402.5 MB, free: 9.113 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3114, allocations: 0 / 402.5 MB, free: 9.113 MB / 318.1 MB Notification: Performance of Templates: time 0.01672/0.3282, allocations: 8.233 MB / 410.7 MB, free: 1.82 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches