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.001488/0.001488, allocations: 75.91 kB / 21.18 MB, free: 3.395 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.001675/0.001675, allocations: 145.5 kB / 24.54 MB, free: 32 kB / 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 0.9896/0.9896, allocations: 173.4 MB / 201.1 MB, free: 9.359 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.282e-06/1.282e-06, allocations: 0 / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.606e-05, allocations: 6.312 kB / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004086/0.004102, allocations: 4.872 MB / 272.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007885/0.01199, allocations: 10.16 MB / 283 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003375/0.01232, allocations: 43.5 kB / 283.1 MB, free: 7.312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.01337, allocations: 0.622 MB / 283.7 MB, free: 6.688 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.01504, allocations: 1.055 MB / 284.7 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008363/0.01588, allocations: 0.6098 MB / 285.4 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.01712, allocations: 1.436 MB / 286.8 MB, free: 3.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.01732, allocations: 117.7 kB / 286.9 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.01764, allocations: 426.8 kB / 287.3 MB, free: 3.023 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.01787, allocations: 231.1 kB / 287.5 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.01791, allocations: 32 kB / 287.6 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007625/0.01867, allocations: 0.6634 MB / 288.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.111e-05/0.01874, allocations: 115.3 kB / 288.4 MB, free: 1.988 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.01891, allocations: 219.3 kB / 288.6 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009033/0.01981, allocations: 1.051 MB / 289.6 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.01981, allocations: 0 / 289.6 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01981, allocations: 0 / 289.6 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.01982, allocations: 0 / 289.6 MB, free: 0.7188 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.1197/0.1395, allocations: 1.399 MB / 291 MB, free: 22.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1396, allocations: 10.55 kB / 291 MB, free: 22.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.1398, allocations: 138.7 kB / 291.2 MB, free: 22.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009356/0.1407, allocations: 0.7504 MB / 291.9 MB, free: 22.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.1407, allocations: 19.84 kB / 291.9 MB, free: 22.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/0.1408, allocations: 29.64 kB / 292 MB, free: 22.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.1413, allocations: 253.4 kB / 292.2 MB, free: 22.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1413, allocations: 3.938 kB / 292.2 MB, free: 22.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.1413, allocations: 10.16 kB / 292.2 MB, free: 22.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.1413, allocations: 7.797 kB / 292.2 MB, free: 22.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.1416, allocations: 141.5 kB / 292.4 MB, free: 22.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.1431, allocations: 1.26 MB / 293.6 MB, free: 21.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.1435, allocations: 182.1 kB / 293.8 MB, free: 21.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.1437, allocations: 148.5 kB / 293.9 MB, free: 21.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002506/0.1462, allocations: 1.548 MB / 295.5 MB, free: 21.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.1464, allocations: 147.6 kB / 295.6 MB, free: 21.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.344e-06/0.1464, allocations: 5.203 kB / 295.6 MB, free: 21.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009026/0.1473, allocations: 453.3 kB / 296.1 MB, free: 20.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.1473, allocations: 59.52 kB / 296.1 MB, free: 20.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008622/0.1482, allocations: 0.898 MB / 297 MB, free: 20.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.1482, allocations: 35.03 kB / 297.1 MB, free: 20.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/0.1485, allocations: 0.5116 MB / 297.6 MB, free: 20.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/0.1486, allocations: 107.8 kB / 297.7 MB, free: 20.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/0.1487, allocations: 79.78 kB / 297.8 MB, free: 20.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.1488, allocations: 0.4904 MB / 298.3 MB, free: 19.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.1489, allocations: 57.81 kB / 298.3 MB, free: 19.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.1491, allocations: 213.7 kB / 298.5 MB, free: 19.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.1493, allocations: 299.4 kB / 298.8 MB, free: 19.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1493, allocations: 0 / 298.8 MB, free: 19.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006296/0.15, allocations: 443.8 kB / 299.3 MB, free: 19.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.15, allocations: 6.844 kB / 299.3 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-05/0.1501, allocations: 32.66 kB / 299.3 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/0.1503, allocations: 54.42 kB / 299.3 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.1505, allocations: 75.56 kB / 299.4 MB, free: 19.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.1518, allocations: 3.528 MB / 302.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.1521, allocations: 39.47 kB / 303 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.1521, allocations: 19.78 kB / 303 MB, free: 15.86 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.0001404/0.1523, allocations: 183.1 kB / 303.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.1524, allocations: 120.7 kB / 303.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006022/0.153, allocations: 394.9 kB / 303.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.153, allocations: 6.781 kB / 303.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.153, allocations: 1.938 kB / 303.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.153, allocations: 1.828 kB / 303.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005438/0.1535, allocations: 0.506 MB / 304.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.236e-05/0.1536, allocations: 34.66 kB / 304.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.1537, allocations: 37.77 kB / 304.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.1538, allocations: 47.64 kB / 304.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.1539, allocations: 16 kB / 304.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.1549, allocations: 3.521 MB / 307.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1549, allocations: 0 / 307.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000633/0.1555, allocations: 475.7 kB / 308.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.1557, allocations: 108.5 kB / 308.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.1557, allocations: 6.234 kB / 308.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.1559, allocations: 12.47 kB / 308.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/0.156, allocations: 26.94 kB / 308.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.156, allocations: 9.984 kB / 308.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005191/0.1565, allocations: 0.5301 MB / 309 MB, free: 11.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1565, allocations: 0 / 309 MB, free: 11.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000638/0.1571, allocations: 253 kB / 309.3 MB, free: 10.98 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.00052/0.1577, allocations: 396.7 kB / 309.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005935/0.1582, allocations: 0.5908 MB / 310.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1582, allocations: 0 / 310.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002932/0.1585, allocations: 0.4948 MB / 310.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.159, allocations: 116 kB / 310.8 MB, free: 9.961 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.1606, allocations: 1.421 MB / 312.3 MB, free: 9.188 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.086e-05/0.1607, allocations: 150.4 kB / 312.4 MB, free: 9.113 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001787/0.1609, allocations: 82.02 kB / 312.5 MB, free: 9.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.161, allocations: 43.88 kB / 312.5 MB, free: 9.082 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.161, allocations: 0 / 312.5 MB, free: 9.082 MB / 266.7 MB Notification: Performance of Templates: time 0.01281/0.1738, allocations: 8.497 MB / 321 MB, free: 3.5 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: 3.221227951347828]