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.001068/0.001068, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 64.55 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09292/0.0941, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005268/0.09941, allocations: 5.079 MB / 364 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1741/0.2736, allocations: 10.8 MB / 374.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009023/0.2745, allocations: 30.34 kB / 374.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.2771, allocations: 0.6873 MB / 375.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004288/0.2814, allocations: 1.009 MB / 376.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.2839, allocations: 0.6109 MB / 377.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00314/0.2871, allocations: 1.379 MB / 378.5 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004201/0.2875, allocations: 183.5 kB / 378.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005599/0.2881, allocations: 287.5 kB / 378.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000604/0.2887, allocations: 320 kB / 379.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.2888, allocations: 32.84 kB / 379.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.2915, allocations: 0.7486 MB / 380 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.2917, allocations: 110.7 kB / 380.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005236/0.2922, allocations: 405.4 kB / 380.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.2947, allocations: 1.266 MB / 381.8 MB, free: 8.504 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2947, allocations: 0 / 381.8 MB, free: 8.504 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.198e-06/0.2947, allocations: 3.219 kB / 381.8 MB, free: 8.504 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.277e-05/0.2948, allocations: 3.938 kB / 381.8 MB, free: 8.5 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.003004/0.2978, allocations: 1.316 MB / 383.1 MB, free: 7.652 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.2978, allocations: 10.06 kB / 383.1 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.2981, allocations: 112.3 kB / 383.3 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.2998, allocations: 0.7474 MB / 384 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.2999, allocations: 20.69 kB / 384 MB, free: 7.156 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.062e-05/0.3, allocations: 33.25 kB / 384.1 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009802/0.301, allocations: 316.5 kB / 384.4 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.301, allocations: 0 / 384.4 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.3011, allocations: 10.77 kB / 384.4 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.3011, allocations: 7.922 kB / 384.4 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.3021, allocations: 277 kB / 384.7 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002881/0.305, allocations: 1.373 MB / 386 MB, free: 6.031 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.3061, allocations: 294.9 kB / 386.3 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006239/0.3068, allocations: 244.9 kB / 386.6 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004236/0.311, allocations: 2.799 MB / 389.4 MB, free: 3.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000486/0.3115, allocations: 204.9 kB / 389.6 MB, free: 3.332 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.414e-06/0.3115, allocations: 4 kB / 389.6 MB, free: 3.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001692/0.3132, allocations: 0.633 MB / 390.2 MB, free: 3.008 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.3133, allocations: 54.12 kB / 390.2 MB, free: 2.945 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008449/0.3141, allocations: 0.8086 MB / 391 MB, free: 2.609 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.3142, allocations: 32.11 kB / 391.1 MB, free: 2.574 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.3144, allocations: 438.5 kB / 391.5 MB, free: 2.223 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.224e-05/0.3145, allocations: 103.9 kB / 391.6 MB, free: 2.145 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.876e-05/0.3146, allocations: 75.47 kB / 391.7 MB, free: 2.102 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.3146, allocations: 318.6 kB / 392 MB, free: 1.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.3149, allocations: 124.9 kB / 392.1 MB, free: 1.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.3152, allocations: 224.7 kB / 392.3 MB, free: 1.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.3166, allocations: 0.723 MB / 393.1 MB, free: 1.246 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.3167, allocations: 1.531 kB / 393.1 MB, free: 1.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009399/0.3176, allocations: 0.5144 MB / 393.6 MB, free: 1.012 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3176, allocations: 7.188 kB / 393.6 MB, free: 1.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.766e-05/0.3177, allocations: 34.16 kB / 393.6 MB, free: 1.012 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001364/0.3178, allocations: 35.12 kB / 393.7 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.3182, allocations: 86.67 kB / 393.7 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009797/0.3192, allocations: 1.453 MB / 395.2 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.3196, allocations: 49.77 kB / 395.2 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.3196, allocations: 15.34 kB / 395.3 MB, free: 15.51 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.0002986/0.32, allocations: 202.4 kB / 395.4 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.3201, allocations: 111.7 kB / 395.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009959/0.3211, allocations: 496.5 kB / 396 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3211, allocations: 2.625 kB / 396 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.3211, allocations: 3.984 kB / 396 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3211, allocations: 1.375 kB / 396.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000695/0.3218, allocations: 0.567 MB / 396.6 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.961e-05/0.3219, allocations: 31.78 kB / 396.6 MB, free: 14.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.3222, allocations: 56.33 kB / 396.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.561e-05/0.3223, allocations: 32.11 kB / 396.7 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.3223, allocations: 9.531 kB / 396.7 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009515/0.3233, allocations: 1.439 MB / 398.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3233, allocations: 1.031 kB / 398.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.3244, allocations: 0.6128 MB / 398.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.3247, allocations: 186.1 kB / 399 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.841e-05/0.3248, allocations: 2.75 kB / 399 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.325, allocations: 18.86 kB / 399 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.3251, allocations: 29.66 kB / 399 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.3252, allocations: 16.23 kB / 399 MB, free: 12.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000609/0.3258, allocations: 0.5406 MB / 399.6 MB, free: 12.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3258, allocations: 0 / 399.6 MB, free: 12.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000663/0.3264, allocations: 242.3 kB / 399.8 MB, free: 12.14 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.0006253/0.3271, allocations: 362.4 kB / 400.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008798/0.328, allocations: 497.8 kB / 400.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.328, allocations: 0.75 kB / 400.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004546/0.3284, allocations: 337.6 kB / 401 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.329, allocations: 114.9 kB / 401.1 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.3315, allocations: 1.658 MB / 402.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.3319, allocations: 0.9548 MB / 403.7 MB, free: 9.621 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002364/0.3322, allocations: 88.88 kB / 403.8 MB, free: 9.574 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/0.3322, allocations: 46.25 kB / 403.8 MB, free: 9.566 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3322, allocations: 0 / 403.8 MB, free: 9.566 MB / 318.1 MB Notification: Performance of Templates: time 0.01432/0.3466, allocations: 8.229 MB / 412.1 MB, free: 2.102 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches