Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.423/1.423, allocations: 230.4 MB / 251.1 MB, free: 8.457 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 75.81 kB / 368.9 MB, free: 6.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2741, allocations: 53.31 MB / 422.3 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.008193/0.2822, allocations: 5.104 MB / 427.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01456/0.2968, allocations: 10.84 MB / 438.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008557/0.2977, allocations: 31.75 kB / 438.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002145/0.2998, allocations: 0.6978 MB / 438.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003458/0.3033, allocations: 1.018 MB / 440 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.305, allocations: 0.6076 MB / 440.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002479/0.3075, allocations: 1.385 MB / 441.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002647/0.3078, allocations: 121.2 kB / 442.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003828/0.3082, allocations: 282.6 kB / 442.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/0.3086, allocations: 325.8 kB / 442.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.942e-05/0.3086, allocations: 32 kB / 442.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.3103, allocations: 0.7454 MB / 443.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3104, allocations: 107.3 kB / 443.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004137/0.3108, allocations: 405.4 kB / 443.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.3126, allocations: 1.28 MB / 445.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3126, allocations: 0 / 445.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3126, allocations: 0 / 445.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.3126, allocations: 0 / 445.2 MB, free: 0.7734 MB / 350.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.002088/0.3147, allocations: 1.353 MB / 446.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3147, allocations: 12.03 kB / 446.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.3149, allocations: 120.2 kB / 446.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.3159, allocations: 0.7598 MB / 447.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.316, allocations: 20.5 kB / 447.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.12e-05/0.316, allocations: 35.98 kB / 447.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000655/0.3167, allocations: 317.3 kB / 447.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3167, allocations: 0 / 447.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.3167, allocations: 12 kB / 447.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.3167, allocations: 12 kB / 447.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006662/0.3174, allocations: 278.2 kB / 448.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.3194, allocations: 1.361 MB / 449.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006881/0.3201, allocations: 274.5 kB / 449.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004252/0.3205, allocations: 221.6 kB / 450 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003515/0.324, allocations: 2.809 MB / 452.8 MB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000452/0.3244, allocations: 207.3 kB / 453 MB, free: 8.406 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.903e-06/0.3244, allocations: 0 / 453 MB, free: 8.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001458/0.3259, allocations: 0.6315 MB / 453.6 MB, free: 7.746 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3259, allocations: 59.41 kB / 453.7 MB, free: 7.676 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009608/0.3269, allocations: 0.8073 MB / 454.5 MB, free: 6.852 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.327, allocations: 29.7 kB / 454.5 MB, free: 6.816 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/0.3273, allocations: 448.9 kB / 454.9 MB, free: 6.375 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.3274, allocations: 115 kB / 455 MB, free: 6.262 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.3275, allocations: 69.98 kB / 455.1 MB, free: 6.188 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3277, allocations: 325.9 kB / 455.4 MB, free: 5.863 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.328, allocations: 120.7 kB / 455.6 MB, free: 5.746 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.3284, allocations: 214.6 kB / 455.8 MB, free: 5.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.33, allocations: 0.7117 MB / 456.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.33, allocations: 0 / 456.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009961/0.331, allocations: 0.5143 MB / 457 MB, free: 4.223 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.331, allocations: 12 kB / 457 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.396e-05/0.331, allocations: 43.98 kB / 457 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001241/0.3312, allocations: 24.84 kB / 457.1 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.3315, allocations: 87.88 kB / 457.2 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.3328, allocations: 1.453 MB / 458.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.3331, allocations: 43.7 kB / 458.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.3332, allocations: 16 kB / 458.7 MB, free: 2.402 MB / 366.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.0003066/0.3335, allocations: 211.3 kB / 458.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.3336, allocations: 111.3 kB / 459 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.3347, allocations: 484.2 kB / 459.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.3347, allocations: 4 kB / 459.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3347, allocations: 48 / 459.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3347, allocations: 3.984 kB / 459.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006527/0.3353, allocations: 0.5812 MB / 460 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.105e-05/0.3354, allocations: 32 kB / 460.1 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.3357, allocations: 63.94 kB / 460.1 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.609e-05/0.3358, allocations: 24.84 kB / 460.2 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.3358, allocations: 12 kB / 460.2 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.337, allocations: 1.437 MB / 461.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.337, allocations: 0 / 461.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.3382, allocations: 0.6236 MB / 462.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.3385, allocations: 188.4 kB / 462.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.837e-05/0.3386, allocations: 4 kB / 462.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.3388, allocations: 19.97 kB / 462.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.529e-05/0.3389, allocations: 27.97 kB / 462.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.3389, allocations: 12 kB / 462.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006914/0.3396, allocations: 0.5426 MB / 463 MB, free: 13.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3396, allocations: 0 / 463 MB, free: 13.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006471/0.3402, allocations: 243.4 kB / 463.3 MB, free: 13.54 MB / 382.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.000617/0.3409, allocations: 367.9 kB / 463.6 MB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009933/0.3419, allocations: 472.8 kB / 464.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3419, allocations: 0 / 464.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005113/0.3424, allocations: 313 kB / 464.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.3429, allocations: 123.5 kB / 464.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.3458, allocations: 1.697 MB / 466.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.3464, allocations: 0.9528 MB / 467.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002418/0.3467, allocations: 85.2 kB / 467.2 MB, free: 9.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.827e-05/0.3468, allocations: 51.38 kB / 467.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3468, allocations: 4 kB / 467.3 MB, free: 9.402 MB / 382.1 MB Notification: Performance of Templates: time 0.01742/0.3642, allocations: 8.404 MB / 475.7 MB, free: 1.031 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches