Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.576/1.576, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 43.94 kB / 373.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1035, allocations: 53.33 MB / 426.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.212/0.3155, allocations: 5.084 MB / 431.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.3273, allocations: 10.84 MB / 442.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009642/0.3282, allocations: 48.25 kB / 442.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.3305, allocations: 0.6998 MB / 443.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004703/0.3352, allocations: 1.008 MB / 444.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.3374, allocations: 0.6134 MB / 445.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002732/0.3402, allocations: 1.385 MB / 446.5 MB, free: 456 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002636/0.3404, allocations: 118.7 kB / 446.6 MB, free: 380 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004714/0.3409, allocations: 300.7 kB / 446.9 MB, free: 248 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.3413, allocations: 329 kB / 447.2 MB, free: 68 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.219e-05/0.3413, allocations: 30.53 kB / 447.2 MB, free: 68 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.3432, allocations: 0.7457 MB / 448 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.3433, allocations: 110.6 kB / 448.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004293/0.3438, allocations: 397.3 kB / 448.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.3458, allocations: 1.279 MB / 449.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3458, allocations: 5.734 kB / 449.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3458, allocations: 0 / 449.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.3458, allocations: 0 / 449.8 MB, free: 14.98 MB / 366.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.002348/0.3482, allocations: 1.35 MB / 451.1 MB, free: 14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3482, allocations: 9.5 kB / 451.1 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.3484, allocations: 123.9 kB / 451.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.3495, allocations: 0.7569 MB / 452 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.3495, allocations: 23.38 kB / 452 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.078e-05/0.3496, allocations: 29.64 kB / 452.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/0.3503, allocations: 319.4 kB / 452.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3504, allocations: 0 / 452.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.3504, allocations: 11.03 kB / 452.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.3504, allocations: 11.3 kB / 452.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007279/0.3511, allocations: 281.5 kB / 452.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.3533, allocations: 1.37 MB / 454 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007501/0.3541, allocations: 268.2 kB / 454.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004595/0.3545, allocations: 217.1 kB / 454.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003919/0.3584, allocations: 2.802 MB / 457.3 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000507/0.3589, allocations: 204.1 kB / 457.5 MB, free: 9.605 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.3589, allocations: 1.062 kB / 457.5 MB, free: 9.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001718/0.3607, allocations: 0.6358 MB / 458.1 MB, free: 9.281 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.3607, allocations: 55.95 kB / 458.2 MB, free: 9.219 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.362, allocations: 0.8105 MB / 459 MB, free: 8.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.3621, allocations: 31.11 kB / 459 MB, free: 8.848 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004967/0.3626, allocations: 441.5 kB / 459.5 MB, free: 8.496 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.3627, allocations: 114.9 kB / 459.6 MB, free: 8.406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.3629, allocations: 75.47 kB / 459.7 MB, free: 8.363 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.363, allocations: 326.6 kB / 460 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.3634, allocations: 116.6 kB / 460.1 MB, free: 8.012 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/0.3638, allocations: 217.3 kB / 460.3 MB, free: 7.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.3656, allocations: 0.7117 MB / 461 MB, free: 7.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3656, allocations: 1.094 kB / 461 MB, free: 7.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001191/0.3668, allocations: 0.5161 MB / 461.5 MB, free: 7.289 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3668, allocations: 6.344 kB / 461.5 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.729e-05/0.3668, allocations: 40.41 kB / 461.6 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001405/0.367, allocations: 33.73 kB / 461.6 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.3674, allocations: 80.92 kB / 461.7 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.3687, allocations: 1.452 MB / 463.1 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/0.3692, allocations: 46.38 kB / 463.2 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.3693, allocations: 15.34 kB / 463.2 MB, free: 5.789 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.0003961/0.3697, allocations: 209.7 kB / 463.4 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.3698, allocations: 113.3 kB / 463.5 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.371, allocations: 484 kB / 464 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.3711, allocations: 2.188 kB / 464 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3711, allocations: 5.141 kB / 464 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3711, allocations: 4.906 kB / 464 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008119/0.3719, allocations: 0.5852 MB / 464.6 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-05/0.3719, allocations: 32.38 kB / 464.6 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.3723, allocations: 57.45 kB / 464.7 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/0.3724, allocations: 31.33 kB / 464.7 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.3724, allocations: 9.312 kB / 464.7 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.3736, allocations: 1.445 MB / 466.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3736, allocations: 0 / 466.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.375, allocations: 0.6148 MB / 466.8 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002762/0.3752, allocations: 191.6 kB / 467 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.534e-05/0.3753, allocations: 2.062 kB / 467 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.3756, allocations: 15.64 kB / 467 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/0.3757, allocations: 25.47 kB / 467 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.3757, allocations: 20.92 kB / 467 MB, free: 2.723 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008075/0.3765, allocations: 0.5405 MB / 467.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3765, allocations: 0 / 467.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009503/0.3775, allocations: 245.8 kB / 467.8 MB, free: 2.348 MB / 366.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.0007146/0.3782, allocations: 369 kB / 468.2 MB, free: 2.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.3794, allocations: 474.3 kB / 468.6 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3795, allocations: 3.938 kB / 468.6 MB, free: 1.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005918/0.38, allocations: 309 kB / 468.9 MB, free: 1.641 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006894/0.3807, allocations: 115.2 kB / 469 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.3842, allocations: 1.705 MB / 470.8 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006733/0.3849, allocations: 0.953 MB / 471.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002953/0.3852, allocations: 87.72 kB / 471.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.482e-05/0.3853, allocations: 44.69 kB / 471.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3853, allocations: 0 / 471.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of Templates: time 0.0191/0.4044, allocations: 8.349 MB / 480.2 MB, free: 9.988 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.015770748257637]