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.001696/0.001696, allocations: 120 kB / 18.5 MB, free: 4.52 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.002032/0.002032, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.539/1.539, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.002001/0.002001, allocations: 59.91 kB / 373.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1118, allocations: 53.32 MB / 427.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006466/0.1183, allocations: 5.104 MB / 432.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01343/0.1317, allocations: 10.84 MB / 443.1 MB, free: 4.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007577/0.1325, allocations: 31.75 kB / 443.1 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.1344, allocations: 0.6904 MB / 443.8 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003056/0.1374, allocations: 1.018 MB / 444.8 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.139, allocations: 0.6038 MB / 445.4 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002139/0.1411, allocations: 1.393 MB / 446.8 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.1413, allocations: 121.1 kB / 446.9 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.1417, allocations: 298.5 kB / 447.2 MB, free: 308 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2108/0.3524, allocations: 311.6 kB / 447.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.3526, allocations: 31.19 kB / 447.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.3545, allocations: 0.748 MB / 448.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.53e-05/0.3546, allocations: 111.2 kB / 448.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003427/0.3549, allocations: 400.3 kB / 448.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.3563, allocations: 1.28 MB / 450.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3563, allocations: 3.625 kB / 450.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3564, allocations: 0 / 450.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.3564, allocations: 0 / 450.1 MB, free: 10.38 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.001734/0.3581, allocations: 1.356 MB / 451.5 MB, free: 9.496 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3581, allocations: 11.56 kB / 451.5 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.3583, allocations: 121.4 kB / 451.6 MB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009813/0.3593, allocations: 0.7523 MB / 452.3 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.3593, allocations: 18.14 kB / 452.4 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.3594, allocations: 33.69 kB / 452.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.36, allocations: 317.1 kB / 452.7 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.36, allocations: 0 / 452.7 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.3601, allocations: 10.67 kB / 452.7 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.3601, allocations: 11.3 kB / 452.7 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006459/0.3607, allocations: 278.5 kB / 453 MB, free: 9.027 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.3626, allocations: 1.358 MB / 454.3 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/0.3634, allocations: 274.6 kB / 454.6 MB, free: 8.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004318/0.3638, allocations: 218.6 kB / 454.8 MB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003114/0.3669, allocations: 2.801 MB / 457.6 MB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004433/0.3673, allocations: 207.5 kB / 457.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.853e-06/0.3673, allocations: 1.406 kB / 457.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001475/0.3688, allocations: 0.6337 MB / 458.5 MB, free: 6.105 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.3689, allocations: 56.48 kB / 458.5 MB, free: 6.043 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.37, allocations: 0.8137 MB / 459.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.37, allocations: 36.7 kB / 459.4 MB, free: 5.855 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.3703, allocations: 438.4 kB / 459.8 MB, free: 5.727 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.065e-05/0.3704, allocations: 114.5 kB / 459.9 MB, free: 5.652 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.3705, allocations: 76.19 kB / 460 MB, free: 5.633 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.002e-05/0.3706, allocations: 322.2 kB / 460.3 MB, free: 5.328 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.3709, allocations: 119.6 kB / 460.4 MB, free: 5.301 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.3712, allocations: 212.5 kB / 460.6 MB, free: 5.152 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.3728, allocations: 0.7154 MB / 461.3 MB, free: 4.836 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3728, allocations: 1.188 kB / 461.3 MB, free: 4.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009512/0.3737, allocations: 0.5108 MB / 461.9 MB, free: 4.621 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.3737, allocations: 7.812 kB / 461.9 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-05/0.3738, allocations: 43.94 kB / 461.9 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/0.3739, allocations: 31.36 kB / 461.9 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.3743, allocations: 84.56 kB / 462 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008236/0.3751, allocations: 1.456 MB / 463.5 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.3755, allocations: 43.31 kB / 463.5 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.004e-05/0.3756, allocations: 18.5 kB / 463.5 MB, free: 3.129 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.0002845/0.3758, allocations: 201.4 kB / 463.7 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.376, allocations: 120.1 kB / 463.8 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.377, allocations: 491.8 kB / 464.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.377, allocations: 3.344 kB / 464.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.377, allocations: 0.7969 kB / 464.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.377, allocations: 1.859 kB / 464.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006604/0.3777, allocations: 0.5732 MB / 464.9 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.457e-05/0.3778, allocations: 34.33 kB / 464.9 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.3781, allocations: 66.2 kB / 465 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.576e-05/0.3782, allocations: 25.22 kB / 465 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.3782, allocations: 12.53 kB / 465 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007277/0.3789, allocations: 1.439 MB / 466.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3789, allocations: 1.219 kB / 466.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.3801, allocations: 0.6132 MB / 467.1 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/0.3803, allocations: 187.1 kB / 467.3 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-05/0.3804, allocations: 7.312 kB / 467.3 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.3807, allocations: 19.73 kB / 467.3 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.993e-05/0.3808, allocations: 26.75 kB / 467.3 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.3808, allocations: 13.94 kB / 467.3 MB, free: 416 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006519/0.3815, allocations: 0.5457 MB / 467.9 MB, free: 172 kB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3815, allocations: 0 / 467.9 MB, free: 172 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007474/0.3822, allocations: 248 kB / 468.1 MB, free: 116 kB / 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.0006437/0.3828, allocations: 359.8 kB / 468.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.3839, allocations: 476.7 kB / 468.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3839, allocations: 4.062 kB / 469 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005361/0.3844, allocations: 315.4 kB / 469.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/0.385, allocations: 118.8 kB / 469.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/0.3884, allocations: 1.69 MB / 471.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007987/0.3892, allocations: 0.9589 MB / 472 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003116/0.3895, allocations: 88.75 kB / 472.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.3896, allocations: 45.3 kB / 472.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3896, allocations: 0 / 472.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of Templates: time 0.01832/0.4079, allocations: 8.37 MB / 480.5 MB, free: 11.7 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.913513671606779]