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.001282/0.001282, allocations: 106.2 kB / 19.8 MB, free: 2.496 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.001397/0.001397, allocations: 216.3 kB / 22.99 MB, free: 5.586 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.441/1.441, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.001939/0.001939, allocations: 63.89 kB / 376.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2559, allocations: 53.32 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006986/0.2629, allocations: 5.12 MB / 434.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01333/0.2762, allocations: 10.85 MB / 445.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007039/0.2769, allocations: 31.75 kB / 445.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.2788, allocations: 0.6994 MB / 446.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003069/0.2819, allocations: 1.014 MB / 447.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.2837, allocations: 0.6076 MB / 448.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002425/0.2861, allocations: 1.397 MB / 449.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.2865, allocations: 109.2 kB / 449.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004664/0.2869, allocations: 290.6 kB / 449.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004186/0.2873, allocations: 317.9 kB / 450.2 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.056e-05/0.2874, allocations: 32 kB / 450.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.2891, allocations: 0.757 MB / 451 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.2892, allocations: 107.3 kB / 451.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004375/0.2897, allocations: 397.5 kB / 451.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.2914, allocations: 1.276 MB / 452.8 MB, free: 448 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2915, allocations: 4 kB / 452.8 MB, free: 444 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2915, allocations: 3.938 kB / 452.8 MB, free: 440 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.2915, allocations: 0 / 452.8 MB, free: 440 kB / 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.002069/0.2935, allocations: 1.353 MB / 454.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.2936, allocations: 12.03 kB / 454.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.2937, allocations: 124.2 kB / 454.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.2947, allocations: 0.752 MB / 455 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.2948, allocations: 24.5 kB / 455 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.2948, allocations: 24 kB / 455.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006507/0.2955, allocations: 317.3 kB / 455.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.2955, allocations: 0 / 455.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.2955, allocations: 12 kB / 455.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.2955, allocations: 12 kB / 455.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006451/0.2962, allocations: 278.2 kB / 455.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/0.2982, allocations: 1.369 MB / 457 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006916/0.2989, allocations: 274.4 kB / 457.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004212/0.2993, allocations: 220.7 kB / 457.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00361/0.303, allocations: 2.806 MB / 460.3 MB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004548/0.3034, allocations: 207.8 kB / 460.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.3034, allocations: 0 / 460.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.00152/0.3049, allocations: 0.6315 MB / 461.2 MB, free: 7.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.305, allocations: 67.33 kB / 461.2 MB, free: 7.332 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.306, allocations: 0.7995 MB / 462 MB, free: 6.516 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.306, allocations: 29.7 kB / 462.1 MB, free: 6.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/0.3064, allocations: 448.9 kB / 462.5 MB, free: 6.039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.3065, allocations: 115 kB / 462.6 MB, free: 5.926 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.3066, allocations: 69.98 kB / 462.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3068, allocations: 333.9 kB / 463 MB, free: 5.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002975/0.3071, allocations: 116.7 kB / 463.1 MB, free: 5.406 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.3075, allocations: 218.5 kB / 463.3 MB, free: 5.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.3091, allocations: 0.7081 MB / 464 MB, free: 4.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.3091, allocations: 0 / 464 MB, free: 4.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001045/0.3102, allocations: 0.514 MB / 464.5 MB, free: 3.883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3102, allocations: 8 kB / 464.6 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-05/0.3103, allocations: 36 kB / 464.6 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/0.3104, allocations: 32.78 kB / 464.6 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.3108, allocations: 87.88 kB / 464.7 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.312, allocations: 1.446 MB / 466.2 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.3124, allocations: 43.77 kB / 466.2 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.3124, allocations: 20 kB / 466.2 MB, free: 2.07 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.0003316/0.3127, allocations: 209.7 kB / 466.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.3129, allocations: 111.3 kB / 466.5 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.314, allocations: 492.2 kB / 467 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.314, allocations: 0 / 467 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.314, allocations: 4 kB / 467 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.314, allocations: 4 kB / 467 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007063/0.3147, allocations: 0.5851 MB / 467.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.343e-05/0.3148, allocations: 35.98 kB / 467.6 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/0.3151, allocations: 63.89 kB / 467.7 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-05/0.3152, allocations: 20.84 kB / 467.7 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.3152, allocations: 15.98 kB / 467.7 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.3165, allocations: 1.437 MB / 469.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3165, allocations: 0 / 469.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.3178, allocations: 0.612 MB / 469.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.318, allocations: 188.4 kB / 470 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-05/0.3181, allocations: 19.92 kB / 470 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.3183, allocations: 16.22 kB / 470 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-05/0.3184, allocations: 27.91 kB / 470 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.3184, allocations: 8 kB / 470 MB, free: 13.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007534/0.3192, allocations: 0.5504 MB / 470.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3192, allocations: 0 / 470.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006817/0.3199, allocations: 235.4 kB / 470.8 MB, free: 13.2 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.0006185/0.3205, allocations: 367.8 kB / 471.2 MB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.3215, allocations: 472.7 kB / 471.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.3215, allocations: 4.062 kB / 471.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.322, allocations: 312.2 kB / 471.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005789/0.3226, allocations: 116.2 kB / 472.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.3257, allocations: 1.697 MB / 473.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/0.3263, allocations: 0.9566 MB / 474.7 MB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002568/0.3266, allocations: 85.2 kB / 474.8 MB, free: 9.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.935e-05/0.3267, allocations: 47.44 kB / 474.8 MB, free: 9.066 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3267, allocations: 4 kB / 474.9 MB, free: 9.062 MB / 382.1 MB Notification: Performance of Templates: time 0.01734/0.344, allocations: 8.457 MB / 483.3 MB, free: 0.6328 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.598112847656012]