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.001275/0.001275, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001424/0.001424, allocations: 211 kB / 23.73 MB, free: 4.523 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.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001533/0.001533, allocations: 51.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2288, allocations: 53.37 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006158/0.235, allocations: 4.483 MB / 436.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01175/0.2467, allocations: 9.314 MB / 445.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006928/0.2474, allocations: 43.56 kB / 445.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.2491, allocations: 0.6219 MB / 446 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003092/0.2522, allocations: 1.022 MB / 447.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.2539, allocations: 0.6135 MB / 447.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002375/0.2563, allocations: 1.39 MB / 449.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.2565, allocations: 113.7 kB / 449.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004022/0.2569, allocations: 306.5 kB / 449.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003979/0.2573, allocations: 322 kB / 449.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/0.2574, allocations: 32 kB / 449.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.2588, allocations: 0.6986 MB / 450.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.2589, allocations: 107.3 kB / 450.6 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000331/0.2592, allocations: 302 kB / 450.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.2608, allocations: 1.291 MB / 452.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2608, allocations: 4 kB / 452.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2608, allocations: 0 / 452.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.2608, allocations: 0 / 452.2 MB, free: 1.961 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.002093/0.2629, allocations: 1.282 MB / 453.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2629, allocations: 11.97 kB / 453.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.2631, allocations: 120.2 kB / 453.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.2643, allocations: 0.6801 MB / 454.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.2643, allocations: 20.59 kB / 454.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.492e-05/0.2644, allocations: 28 kB / 454.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007393/0.2652, allocations: 322 kB / 454.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.2652, allocations: 7.922 kB / 454.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.2652, allocations: 8 kB / 454.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.2652, allocations: 15.94 kB / 454.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.2659, allocations: 274.5 kB / 455 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.2679, allocations: 1.206 MB / 456.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007259/0.2686, allocations: 278.6 kB / 456.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004787/0.2691, allocations: 212.8 kB / 456.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002949/0.272, allocations: 1.303 MB / 458 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004985/0.2725, allocations: 227 kB / 458.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.2725, allocations: 0 / 458.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001435/0.2739, allocations: 0.5457 MB / 458.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.274, allocations: 63.33 kB / 458.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009706/0.275, allocations: 0.8025 MB / 459.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.275, allocations: 29.7 kB / 459.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004442/0.2754, allocations: 440.8 kB / 460 MB, free: 9.875 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.2756, allocations: 119 kB / 460.2 MB, free: 9.758 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.2757, allocations: 74.02 kB / 460.2 MB, free: 9.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2758, allocations: 321.9 kB / 460.5 MB, free: 9.359 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.2762, allocations: 120.7 kB / 460.7 MB, free: 9.242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.2766, allocations: 214.6 kB / 460.9 MB, free: 8.996 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.2783, allocations: 0.7117 MB / 461.6 MB, free: 8.242 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2783, allocations: 4 kB / 461.6 MB, free: 8.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000977/0.2792, allocations: 0.5143 MB / 462.1 MB, free: 7.715 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2793, allocations: 4 kB / 462.1 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.058e-05/0.2793, allocations: 39.98 kB / 462.1 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001335/0.2795, allocations: 32.84 kB / 462.2 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.2798, allocations: 83.78 kB / 462.3 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.2811, allocations: 1.331 MB / 463.6 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.2814, allocations: 39.77 kB / 463.6 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.2814, allocations: 16 kB / 463.6 MB, free: 6.059 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.0003655/0.2818, allocations: 205.7 kB / 463.8 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.2819, allocations: 115.2 kB / 464 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.283, allocations: 488.2 kB / 464.4 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.283, allocations: 0 / 464.4 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.283, allocations: 8 kB / 464.4 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.283, allocations: 3.938 kB / 464.4 MB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005863/0.2836, allocations: 466.4 kB / 464.9 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-05/0.2837, allocations: 36 kB / 464.9 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.284, allocations: 59.92 kB / 465 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.863e-05/0.2841, allocations: 32.78 kB / 465 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.2841, allocations: 8 kB / 465 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.2855, allocations: 1.323 MB / 466.4 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2855, allocations: 3.938 kB / 466.4 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.2867, allocations: 0.6069 MB / 467 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.287, allocations: 115.3 kB / 467.1 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.2871, allocations: 11.94 kB / 467.1 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.2873, allocations: 15.98 kB / 467.1 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/0.2874, allocations: 31.89 kB / 467.1 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.2874, allocations: 11.98 kB / 467.2 MB, free: 2.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000792/0.2882, allocations: 0.5344 MB / 467.7 MB, free: 1.828 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2882, allocations: 0 / 467.7 MB, free: 1.828 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006979/0.2889, allocations: 243.4 kB / 467.9 MB, free: 1.59 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.0006407/0.2896, allocations: 369.1 kB / 468.3 MB, free: 1.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.2906, allocations: 466.2 kB / 468.7 MB, free: 0.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2906, allocations: 0.75 kB / 468.7 MB, free: 0.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005276/0.2911, allocations: 316.2 kB / 469 MB, free: 432 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.2917, allocations: 126.8 kB / 469.2 MB, free: 308 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.2948, allocations: 1.672 MB / 470.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.2951, allocations: 369.9 kB / 471.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002457/0.2954, allocations: 89.19 kB / 471.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-05/0.2955, allocations: 43.44 kB / 471.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2955, allocations: 0 / 471.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of Templates: time 0.01869/0.3142, allocations: 9.421 MB / 480.8 MB, free: 4.715 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.684447810985148]