Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009228/0.0009228, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008469/0.0008469, allocations: 147.5 kB / 24.81 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.078/1.078, allocations: 173.3 MB / 201.4 MB, free: 9.219 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 268.4 MB, free: 6.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.115e-05, allocations: 10.25 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005752/0.005784, allocations: 4.786 MB / 273.2 MB, free: 1.387 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008158/0.01394, allocations: 9.968 MB / 283.2 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004376/0.01438, allocations: 43.5 kB / 283.2 MB, free: 7.336 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.01546, allocations: 0.622 MB / 283.8 MB, free: 6.711 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.01706, allocations: 1.055 MB / 284.9 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000858/0.01792, allocations: 0.6098 MB / 285.5 MB, free: 5.035 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.01911, allocations: 1.436 MB / 286.9 MB, free: 3.594 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.01928, allocations: 121.7 kB / 287 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/0.01973, allocations: 0.5691 MB / 287.6 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.01996, allocations: 239.2 kB / 287.8 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.562e-05/0.02001, allocations: 32 kB / 287.9 MB, free: 2.625 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007928/0.0208, allocations: 0.6673 MB / 288.5 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.961e-05/0.02087, allocations: 115.3 kB / 288.7 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.02103, allocations: 227.3 kB / 288.9 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008805/0.02191, allocations: 1.07 MB / 289.9 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.02192, allocations: 0 / 289.9 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.02192, allocations: 0 / 289.9 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.02192, allocations: 0 / 289.9 MB, free: 0.5469 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.1118/0.1337, allocations: 1.411 MB / 291.4 MB, free: 22.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1337, allocations: 11.39 kB / 291.4 MB, free: 22.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.1339, allocations: 144.2 kB / 291.5 MB, free: 22.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006267/0.1345, allocations: 0.7167 MB / 292.2 MB, free: 22.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.1345, allocations: 21.45 kB / 292.2 MB, free: 22.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.1346, allocations: 35.45 kB / 292.3 MB, free: 22.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.1349, allocations: 219.3 kB / 292.5 MB, free: 22.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1349, allocations: 5.156 kB / 292.5 MB, free: 22.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.1349, allocations: 12.17 kB / 292.5 MB, free: 22.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.1349, allocations: 8.25 kB / 292.5 MB, free: 22.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.1351, allocations: 118.2 kB / 292.6 MB, free: 22.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.1361, allocations: 1.118 MB / 293.8 MB, free: 21.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.1363, allocations: 162.2 kB / 293.9 MB, free: 21.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.1365, allocations: 132.7 kB / 294 MB, free: 21.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001971/0.1384, allocations: 1.574 MB / 295.6 MB, free: 21.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.1386, allocations: 135 kB / 295.7 MB, free: 21.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.774e-06/0.1386, allocations: 1.219 kB / 295.7 MB, free: 21.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006254/0.1392, allocations: 427.6 kB / 296.2 MB, free: 21.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.1393, allocations: 54.5 kB / 296.2 MB, free: 21.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006344/0.1399, allocations: 0.8898 MB / 297.1 MB, free: 20.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1399, allocations: 31.11 kB / 297.1 MB, free: 20.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.1402, allocations: 0.5278 MB / 297.7 MB, free: 20.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.768e-05/0.1402, allocations: 110.1 kB / 297.8 MB, free: 20.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.28e-05/0.1403, allocations: 81.66 kB / 297.9 MB, free: 20.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.511e-05/0.1404, allocations: 497.9 kB / 298.3 MB, free: 20.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/0.1405, allocations: 46.55 kB / 298.4 MB, free: 20.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.1406, allocations: 204.1 kB / 298.6 MB, free: 20.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.1408, allocations: 274.7 kB / 298.9 MB, free: 19.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1408, allocations: 1.031 kB / 298.9 MB, free: 19.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000435/0.1412, allocations: 413.6 kB / 299.3 MB, free: 19.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1413, allocations: 7 kB / 299.3 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.955e-05/0.1413, allocations: 36.94 kB / 299.3 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/0.1414, allocations: 54.02 kB / 299.4 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.1416, allocations: 72.33 kB / 299.4 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009178/0.1425, allocations: 3.481 MB / 302.9 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.1427, allocations: 42.72 kB / 302.9 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.1427, allocations: 12 kB / 303 MB, free: 16.27 MB / 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.0001146/0.1428, allocations: 186.6 kB / 303.1 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.079e-05/0.1429, allocations: 120 kB / 303.3 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.1434, allocations: 377.3 kB / 303.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1434, allocations: 2.406 kB / 303.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1434, allocations: 2.188 kB / 303.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1434, allocations: 1.312 kB / 303.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.1438, allocations: 380 kB / 304 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.045e-05/0.1439, allocations: 29.39 kB / 304 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.144, allocations: 50.3 kB / 304.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001064/0.1441, allocations: 48.06 kB / 304.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.1441, allocations: 10.86 kB / 304.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008382/0.145, allocations: 3.48 MB / 307.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.145, allocations: 1.219 kB / 307.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.1454, allocations: 437.3 kB / 308 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.1455, allocations: 107.5 kB / 308.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.1456, allocations: 6.969 kB / 308.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1457, allocations: 12.56 kB / 308.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.1457, allocations: 26.2 kB / 308.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.1458, allocations: 24.94 kB / 308.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003466/0.1461, allocations: 0.4984 MB / 308.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1461, allocations: 0 / 308.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005121/0.1466, allocations: 251.5 kB / 309 MB, free: 11.94 MB / 266.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.0004619/0.1471, allocations: 404.8 kB / 309.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004417/0.1475, allocations: 0.5717 MB / 309.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1475, allocations: 4.062 kB / 309.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.1477, allocations: 487.7 kB / 310.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.1481, allocations: 113.3 kB / 310.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.1494, allocations: 1.43 MB / 312 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.592e-05/0.1495, allocations: 146.9 kB / 312.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.1496, allocations: 88.72 kB / 312.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.1498, allocations: 189.3 kB / 312.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1498, allocations: 0 / 312.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of Templates: time 0.01134/0.1611, allocations: 9.738 MB / 322.1 MB, free: 3.277 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 2.844132242258638]