Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001541/0.001541, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 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.001741/0.001741, allocations: 168.8 kB / 25.33 MB, free: 9.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9481/0.9481, allocations: 158.6 MB / 187.2 MB, free: 2.527 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 0 / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.399e-05, allocations: 2.312 kB / 251 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004806/0.00484, allocations: 4.813 MB / 255.9 MB, free: 14.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009804/0.01464, allocations: 9.834 MB / 265.7 MB, free: 4.875 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009339/0.01558, allocations: 47.5 kB / 265.7 MB, free: 4.828 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.0171, allocations: 0.6028 MB / 266.3 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.01965, allocations: 1.051 MB / 267.4 MB, free: 3.164 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.02104, allocations: 0.6055 MB / 268 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.02275, allocations: 1.417 MB / 269.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.02299, allocations: 109.7 kB / 269.5 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004328/0.02342, allocations: 406.8 kB / 269.9 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.02368, allocations: 231.2 kB / 270.1 MB, free: 396 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.991e-05/0.02373, allocations: 28 kB / 270.2 MB, free: 368 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.02482, allocations: 0.6439 MB / 270.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.02491, allocations: 111.3 kB / 270.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.02509, allocations: 215.3 kB / 271.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.02622, allocations: 1.055 MB / 272.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.02623, allocations: 0 / 272.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.02623, allocations: 0 / 272.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.02625, allocations: 0 / 272.2 MB, free: 14.34 MB / 266.7 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.001387/0.02763, allocations: 1.389 MB / 273.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.02767, allocations: 19.92 kB / 273.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.02782, allocations: 144.2 kB / 273.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007374/0.02856, allocations: 0.7486 MB / 274.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.02858, allocations: 24.78 kB / 274.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.02863, allocations: 24 kB / 274.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/0.02899, allocations: 242.7 kB / 274.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.029, allocations: 0 / 274.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.02903, allocations: 15.98 kB / 274.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.02904, allocations: 8 kB / 274.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.02927, allocations: 147.8 kB / 274.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.03071, allocations: 1.259 MB / 276.2 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/0.0311, allocations: 187.1 kB / 276.4 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.03133, allocations: 151.9 kB / 276.5 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00267/0.034, allocations: 1.549 MB / 278.1 MB, free: 8.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.03424, allocations: 144.9 kB / 278.2 MB, free: 8.074 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.635e-06/0.03424, allocations: 0 / 278.2 MB, free: 8.074 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009983/0.03524, allocations: 448.1 kB / 278.6 MB, free: 7.621 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.03529, allocations: 59.39 kB / 278.7 MB, free: 7.551 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008571/0.03614, allocations: 0.892 MB / 279.6 MB, free: 6.641 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.03617, allocations: 33.69 kB / 279.6 MB, free: 6.602 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003719/0.03654, allocations: 0.5193 MB / 280.2 MB, free: 6.078 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.289e-05/0.03662, allocations: 103.2 kB / 280.3 MB, free: 5.977 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.03673, allocations: 79.64 kB / 280.3 MB, free: 5.891 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.03687, allocations: 0.4925 MB / 280.8 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.03698, allocations: 64.72 kB / 280.9 MB, free: 5.328 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.03718, allocations: 218.5 kB / 281.1 MB, free: 5.055 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.0375, allocations: 307.4 kB / 281.4 MB, free: 4.691 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.03751, allocations: 4 kB / 281.4 MB, free: 4.688 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005972/0.0381, allocations: 439.7 kB / 281.8 MB, free: 4.242 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.03812, allocations: 10.97 kB / 281.8 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.512e-05/0.03817, allocations: 32 kB / 281.9 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002148/0.03838, allocations: 55.78 kB / 281.9 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.0386, allocations: 79.78 kB / 282 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.04077, allocations: 3.511 MB / 285.5 MB, free: 308 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.04099, allocations: 47.78 kB / 285.6 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.04103, allocations: 16 kB / 285.6 MB, free: 244 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001672/0.04119, allocations: 180.5 kB / 285.8 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.04131, allocations: 115.5 kB / 285.9 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006261/0.04194, allocations: 399.1 kB / 286.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.04194, allocations: 4 kB / 286.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.04195, allocations: 7.938 kB / 286.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.04195, allocations: 3.984 kB / 286.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.04247, allocations: 0.5106 MB / 286.8 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.903e-05/0.04251, allocations: 28 kB / 286.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.04267, allocations: 35.97 kB / 286.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001474/0.04282, allocations: 63.22 kB / 286.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.04284, allocations: 7.984 kB / 286.9 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/0.04482, allocations: 3.515 MB / 290.4 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.04483, allocations: 8.047 kB / 290.4 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005844/0.04541, allocations: 460 kB / 290.9 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.04556, allocations: 107.2 kB / 291 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.04562, allocations: 8 kB / 291 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.04577, allocations: 11.98 kB / 291 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.04586, allocations: 27.95 kB / 291 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.04588, allocations: 12 kB / 291.1 MB, free: 10.42 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005094/0.04639, allocations: 0.5345 MB / 291.6 MB, free: 9.875 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.04639, allocations: 4.031 kB / 291.6 MB, free: 9.871 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006393/0.04703, allocations: 247.3 kB / 291.8 MB, free: 9.629 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * 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 (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0005686/0.0476, allocations: 387.7 kB / 292.2 MB, free: 9.242 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006985/0.0483, allocations: 0.5951 MB / 292.8 MB, free: 8.605 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.0483, allocations: 0 / 292.8 MB, free: 8.605 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003895/0.04869, allocations: 497.5 kB / 293.3 MB, free: 8.074 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.04915, allocations: 108.3 kB / 293.4 MB, free: 7.969 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.05113, allocations: 1.427 MB / 294.8 MB, free: 6.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.05125, allocations: 153.6 kB / 295 MB, free: 6.328 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.05144, allocations: 85.2 kB / 295.1 MB, free: 6.242 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.946e-05/0.05152, allocations: 44.5 kB / 295.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.05152, allocations: 4 kB / 295.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of Templates: time 0.1355/0.187, allocations: 8.474 MB / 303.6 MB, free: 46.71 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.279875447973609]