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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001772/0.001772, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002146/0.002146, allocations: 205.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] 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=999,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=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003143/0.003143, allocations: 63.91 kB / 378.2 MB, free: 2.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2446, allocations: 53.41 MB / 431.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005948/0.2506, allocations: 4.482 MB / 436.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.2627, allocations: 9.314 MB / 445.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005287/0.2632, allocations: 43.5 kB / 445.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.2648, allocations: 0.6244 MB / 446.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.2671, allocations: 1.024 MB / 447.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.2684, allocations: 0.6056 MB / 447.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.2704, allocations: 1.39 MB / 449.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.2706, allocations: 113.8 kB / 449.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000349/0.2709, allocations: 298.5 kB / 449.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.2713, allocations: 301.9 kB / 449.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.771e-05/0.2714, allocations: 32 kB / 449.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.2726, allocations: 0.6674 MB / 450.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.2727, allocations: 111.3 kB / 450.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002877/0.273, allocations: 302 kB / 450.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.2745, allocations: 1.284 MB / 452.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2745, allocations: 0 / 452.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2745, allocations: 0 / 452.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.2745, allocations: 0 / 452.2 MB, free: 1.852 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.001949/0.2764, allocations: 1.286 MB / 453.5 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.2765, allocations: 15.98 kB / 453.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.2766, allocations: 124.2 kB / 453.6 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.2777, allocations: 0.68 MB / 454.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.2777, allocations: 20.66 kB / 454.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/0.2778, allocations: 27.94 kB / 454.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006348/0.2784, allocations: 321.9 kB / 454.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.2784, allocations: 3.984 kB / 454.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.2785, allocations: 12 kB / 454.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.2785, allocations: 12 kB / 454.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006469/0.2791, allocations: 282.4 kB / 455 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.281, allocations: 1.202 MB / 456.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006638/0.2817, allocations: 266.7 kB / 456.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004084/0.2821, allocations: 213.4 kB / 456.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002834/0.2849, allocations: 1.322 MB / 458 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004293/0.2854, allocations: 206.3 kB / 458.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.774e-06/0.2854, allocations: 0 / 458.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001424/0.2868, allocations: 0.5685 MB / 458.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.2868, allocations: 59.34 kB / 458.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009341/0.2878, allocations: 0.7986 MB / 459.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.2878, allocations: 33.7 kB / 459.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003822/0.2882, allocations: 432.9 kB / 460 MB, free: 9.758 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.2883, allocations: 123 kB / 460.2 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.2884, allocations: 69.98 kB / 460.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2885, allocations: 318 kB / 460.5 MB, free: 9.246 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.2888, allocations: 128.7 kB / 460.7 MB, free: 9.121 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.2892, allocations: 218.5 kB / 460.9 MB, free: 8.871 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.2908, allocations: 0.7117 MB / 461.6 MB, free: 8.117 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2908, allocations: 0 / 461.6 MB, free: 8.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000984/0.2918, allocations: 0.5064 MB / 462.1 MB, free: 7.602 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.2918, allocations: 16.3 kB / 462.1 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.49e-05/0.2919, allocations: 40 kB / 462.2 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/0.292, allocations: 28.84 kB / 462.2 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.2924, allocations: 95.73 kB / 462.3 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.2935, allocations: 1.311 MB / 463.6 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.2938, allocations: 47.81 kB / 463.6 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.2938, allocations: 20 kB / 463.7 MB, free: 5.934 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.0002978/0.2941, allocations: 212 kB / 463.9 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.2943, allocations: 111.3 kB / 464 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.2953, allocations: 492 kB / 464.4 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.2954, allocations: 4 kB / 464.5 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2954, allocations: 3.938 kB / 464.5 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2954, allocations: 0 / 464.5 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005565/0.2959, allocations: 458.5 kB / 464.9 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.466e-05/0.296, allocations: 43.92 kB / 464.9 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.2963, allocations: 55.95 kB / 465 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.442e-05/0.2964, allocations: 32.83 kB / 465 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.2964, allocations: 19.92 kB / 465.1 MB, free: 4.484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.2975, allocations: 1.307 MB / 466.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2975, allocations: 64 / 466.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.2987, allocations: 0.6263 MB / 467 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/0.2989, allocations: 111.3 kB / 467.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/0.299, allocations: 7.984 kB / 467.1 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.2992, allocations: 15.98 kB / 467.1 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.2993, allocations: 31.95 kB / 467.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.2993, allocations: 8 kB / 467.2 MB, free: 2.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006533/0.3, allocations: 0.5383 MB / 467.7 MB, free: 1.707 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3, allocations: 0 / 467.7 MB, free: 1.707 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000586/0.3006, allocations: 247.3 kB / 467.9 MB, free: 1.465 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.0005667/0.3012, allocations: 348.4 kB / 468.3 MB, free: 1.113 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009579/0.3021, allocations: 476.7 kB / 468.7 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3021, allocations: 0 / 468.7 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005231/0.3026, allocations: 320.9 kB / 469.1 MB, free: 304 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/0.3032, allocations: 128.1 kB / 469.2 MB, free: 176 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.306, allocations: 1.679 MB / 470.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.3064, allocations: 361.9 kB / 471.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002422/0.3066, allocations: 89.19 kB / 471.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.556e-05/0.3067, allocations: 47.44 kB / 471.3 MB, free: 13.94 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3067, allocations: 0 / 471.3 MB, free: 13.94 MB / 382.1 MB Notification: Performance of Templates: time 0.01784/0.3246, allocations: 9.322 MB / 480.7 MB, free: 4.672 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7201945800334215]