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.0007519/0.000752, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000839/0.000839, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000237/0.0002371, allocations: 4 kB / 307.1 MB, free: 1.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09326/0.09351, allocations: 51.53 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004345/0.0979, allocations: 4.412 MB / 363 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1762/0.2741, allocations: 9.844 MB / 372.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007201/0.2749, allocations: 8.75 kB / 372.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.2767, allocations: 0.5878 MB / 373.5 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.279, allocations: 0.7568 MB / 374.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.2804, allocations: 410.9 kB / 374.6 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001991/0.2824, allocations: 1.277 MB / 375.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.2826, allocations: 148.3 kB / 376.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.2829, allocations: 251.5 kB / 376.3 MB, free: 9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.2832, allocations: 288.6 kB / 376.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.745e-05/0.2833, allocations: 17.88 kB / 376.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.2846, allocations: 0.6786 MB / 377.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.736e-05/0.2847, allocations: 87.53 kB / 377.4 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.2849, allocations: 192.4 kB / 377.6 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009334/0.2858, allocations: 0.8928 MB / 378.5 MB, free: 8.664 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2858, allocations: 0 / 378.5 MB, free: 8.664 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2858, allocations: 4 kB / 378.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.2858, allocations: 2.703 kB / 378.5 MB, free: 8.66 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.001508/0.2874, allocations: 1.203 MB / 379.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2874, allocations: 9.094 kB / 379.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.2875, allocations: 116.4 kB / 379.8 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008576/0.2884, allocations: 0.7093 MB / 380.5 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.2884, allocations: 18.06 kB / 380.5 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.2885, allocations: 28.3 kB / 380.5 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/0.2891, allocations: 321.8 kB / 380.9 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2891, allocations: 1.719 kB / 380.9 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.2892, allocations: 15.12 kB / 380.9 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.2892, allocations: 7.719 kB / 380.9 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006206/0.2898, allocations: 301.5 kB / 381.2 MB, free: 7.426 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.2915, allocations: 1.381 MB / 382.6 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/0.2922, allocations: 317.2 kB / 382.9 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/0.2926, allocations: 253.9 kB / 383.1 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002725/0.2953, allocations: 2.807 MB / 385.9 MB, free: 4.695 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004148/0.2957, allocations: 208.5 kB / 386.1 MB, free: 4.645 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.695e-06/0.2957, allocations: 0 / 386.1 MB, free: 4.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.00133/0.2971, allocations: 0.6686 MB / 386.8 MB, free: 4.438 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.2971, allocations: 62.38 kB / 386.9 MB, free: 4.371 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000866/0.298, allocations: 0.7937 MB / 387.6 MB, free: 4.227 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.298, allocations: 29.11 kB / 387.7 MB, free: 4.195 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.2983, allocations: 446.5 kB / 388.1 MB, free: 4.062 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.482e-05/0.2984, allocations: 106.2 kB / 388.2 MB, free: 3.996 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-05/0.2984, allocations: 8.562 kB / 388.2 MB, free: 3.996 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.26e-05/0.2984, allocations: 318.9 kB / 388.5 MB, free: 3.691 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.2987, allocations: 134.7 kB / 388.7 MB, free: 3.688 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.299, allocations: 232.6 kB / 388.9 MB, free: 3.566 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.2994, allocations: 156.1 kB / 389 MB, free: 3.555 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.2994, allocations: 8.953 kB / 389.1 MB, free: 3.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008465/0.3002, allocations: 0.5294 MB / 389.6 MB, free: 3.418 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3003, allocations: 5.25 kB / 389.6 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.588e-05/0.3003, allocations: 35.75 kB / 389.6 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001307/0.3005, allocations: 36.52 kB / 389.7 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.3008, allocations: 92.89 kB / 389.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007044/0.3015, allocations: 1.339 MB / 391.1 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.3018, allocations: 55.39 kB / 391.1 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.3019, allocations: 15.06 kB / 391.2 MB, free: 2.109 MB / 302.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 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000267/0.3022, allocations: 208 kB / 391.4 MB, free: 1.984 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.235e-05/0.3023, allocations: 102.8 kB / 391.5 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.3033, allocations: 0.5001 MB / 392 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3033, allocations: 11.3 kB / 392 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.3033, allocations: 0 / 392 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.3033, allocations: 0.9375 kB / 392 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.3039, allocations: 0.5629 MB / 392.5 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.215e-05/0.3039, allocations: 37.38 kB / 392.6 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.3042, allocations: 61.72 kB / 392.6 MB, free: 1.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.133e-05/0.3043, allocations: 30.95 kB / 392.7 MB, free: 1.625 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.3044, allocations: 18.28 kB / 392.7 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006486/0.305, allocations: 1.326 MB / 394 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.305, allocations: 5.797 kB / 394 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.3062, allocations: 0.6434 MB / 394.7 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.3063, allocations: 190.2 kB / 394.8 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.414e-05/0.3064, allocations: 5.312 kB / 394.8 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.3067, allocations: 26.59 kB / 394.9 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.3067, allocations: 24.41 kB / 394.9 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.3068, allocations: 13.56 kB / 394.9 MB, free: 20 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006652/0.3075, allocations: 0.5369 MB / 395.4 MB, free: 15.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3075, allocations: 0 / 395.4 MB, free: 15.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006864/0.3082, allocations: 236.5 kB / 395.7 MB, free: 15.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005196/0.3087, allocations: 349.9 kB / 396 MB, free: 15.62 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008619/0.3096, allocations: 0.5055 MB / 396.5 MB, free: 15.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3096, allocations: 0 / 396.5 MB, free: 15.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004909/0.3101, allocations: 342.7 kB / 396.9 MB, free: 15.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.3106, allocations: 107 kB / 397 MB, free: 15.22 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.3134, allocations: 1.897 MB / 398.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.3138, allocations: 0.9575 MB / 399.8 MB, free: 13.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002976/0.3141, allocations: 84.86 kB / 399.9 MB, free: 13.28 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.782e-05/0.3142, allocations: 42.28 kB / 399.9 MB, free: 13.27 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3142, allocations: 4 kB / 399.9 MB, free: 13.27 MB / 318.1 MB Notification: Performance of Templates: time 0.01411/0.3284, allocations: 7.702 MB / 407.7 MB, free: 7.391 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.0.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