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.001904/0.001904, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001586/0.001586, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.001551/0.001551, allocations: 59.91 kB / 378.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2588, allocations: 53.35 MB / 431.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006225/0.265, allocations: 5.13 MB / 436.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.2776, allocations: 10.85 MB / 447.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005961/0.2782, allocations: 43.5 kB / 447.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.2799, allocations: 0.7013 MB / 448.3 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002734/0.2826, allocations: 1.02 MB / 449.4 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.2841, allocations: 0.6214 MB / 450 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002287/0.2864, allocations: 1.39 MB / 451.4 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.2867, allocations: 113.8 kB / 451.5 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004184/0.2871, allocations: 298.6 kB / 451.8 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004202/0.2875, allocations: 325.8 kB / 452.1 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.913e-05/0.2876, allocations: 39.94 kB / 452.1 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.2891, allocations: 0.7493 MB / 452.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.2893, allocations: 107.3 kB / 453 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003723/0.2896, allocations: 397.4 kB / 453.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.2914, allocations: 1.276 MB / 454.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2914, allocations: 0 / 454.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2914, allocations: 0 / 454.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.2914, allocations: 0 / 454.7 MB, free: 15.81 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.002052/0.2934, allocations: 1.282 MB / 455.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.2935, allocations: 8.031 kB / 455.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.2936, allocations: 124.2 kB / 456.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.2947, allocations: 0.6801 MB / 456.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.2948, allocations: 24.59 kB / 456.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/0.2948, allocations: 24 kB / 456.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006415/0.2955, allocations: 321.9 kB / 457.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2955, allocations: 4 kB / 457.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.2955, allocations: 15.98 kB / 457.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.2955, allocations: 8 kB / 457.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006454/0.2962, allocations: 278.5 kB / 457.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.2982, allocations: 1.326 MB / 458.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006929/0.2989, allocations: 274.6 kB / 459 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004215/0.2994, allocations: 212.7 kB / 459.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002963/0.3023, allocations: 1.354 MB / 460.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004648/0.3028, allocations: 212.9 kB / 460.8 MB, free: 9.477 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.324e-06/0.3028, allocations: 7.938 kB / 460.8 MB, free: 9.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001544/0.3043, allocations: 0.5536 MB / 461.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.3044, allocations: 55.41 kB / 461.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.3054, allocations: 0.8033 MB / 462.2 MB, free: 8.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.3054, allocations: 33.7 kB / 462.2 MB, free: 7.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004081/0.3058, allocations: 444.9 kB / 462.7 MB, free: 7.543 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.789e-05/0.3059, allocations: 111.1 kB / 462.8 MB, free: 7.434 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3061, allocations: 81.97 kB / 462.8 MB, free: 7.348 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3062, allocations: 321.9 kB / 463.2 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.3065, allocations: 124.7 kB / 463.3 MB, free: 6.906 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.3069, allocations: 210.6 kB / 463.5 MB, free: 6.664 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.3086, allocations: 0.712 MB / 464.2 MB, free: 5.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3086, allocations: 0 / 464.2 MB, free: 5.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009575/0.3096, allocations: 0.5139 MB / 464.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3096, allocations: 4 kB / 464.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.242e-05/0.3096, allocations: 47.92 kB / 464.8 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001254/0.3098, allocations: 28.84 kB / 464.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.3101, allocations: 88.22 kB / 464.9 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.3114, allocations: 1.35 MB / 466.2 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.3117, allocations: 43.75 kB / 466.3 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.3118, allocations: 20 kB / 466.3 MB, free: 3.684 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.0003247/0.3121, allocations: 201.7 kB / 466.5 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.3122, allocations: 123.3 kB / 466.6 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.3135, allocations: 484.2 kB / 467.1 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3135, allocations: 4 kB / 467.1 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.3135, allocations: 0 / 467.1 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3135, allocations: 4 kB / 467.1 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008872/0.3144, allocations: 0.5491 MB / 467.6 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-05/0.3145, allocations: 36 kB / 467.7 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004812/0.315, allocations: 59.94 kB / 467.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001298/0.3151, allocations: 32.81 kB / 467.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.3151, allocations: 12 kB / 467.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.3167, allocations: 1.342 MB / 469.1 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3167, allocations: 0 / 469.1 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.3185, allocations: 0.615 MB / 469.7 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003615/0.3189, allocations: 107.5 kB / 469.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.319, allocations: 8 kB / 469.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.3194, allocations: 15.98 kB / 469.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.3195, allocations: 27.95 kB / 469.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.3196, allocations: 12 kB / 469.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00111/0.3207, allocations: 0.5426 MB / 470.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3207, allocations: 4 kB / 470.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00107/0.3218, allocations: 247.3 kB / 470.7 MB, free: 15.07 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.0008867/0.3226, allocations: 367.7 kB / 471 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.3241, allocations: 469.2 kB / 471.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3241, allocations: 0 / 471.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007669/0.3248, allocations: 319.8 kB / 471.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008817/0.3257, allocations: 120.1 kB / 471.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004587/0.3303, allocations: 1.687 MB / 473.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008495/0.3312, allocations: 0.9566 MB / 474.6 MB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004021/0.3316, allocations: 85.19 kB / 474.7 MB, free: 11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.3317, allocations: 47.44 kB / 474.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3317, allocations: 4 kB / 474.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of Templates: time 0.02769/0.3594, allocations: 8.537 MB / 483.2 MB, free: 2.449 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: 4.762038171989843]