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.001507/0.001507, allocations: 76.06 kB / 21.69 MB, free: 2.855 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.001516/0.001516, allocations: 143.7 kB / 24.98 MB, free: 9.301 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 0.967/0.967, allocations: 173.4 MB / 201.5 MB, free: 9.316 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.533e-06/1.533e-06, allocations: 0 / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.139e-05, allocations: 6.25 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005044/0.005075, allocations: 4.872 MB / 272.9 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.01557, allocations: 10.13 MB / 283.1 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009559/0.01653, allocations: 43.5 kB / 283.1 MB, free: 7.605 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.01801, allocations: 0.622 MB / 283.7 MB, free: 6.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00275/0.02076, allocations: 1.055 MB / 284.8 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.02217, allocations: 0.6098 MB / 285.4 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.02402, allocations: 1.413 MB / 286.8 MB, free: 3.887 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.02424, allocations: 113.7 kB / 286.9 MB, free: 3.762 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004199/0.02466, allocations: 426.8 kB / 287.3 MB, free: 3.344 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.02491, allocations: 239.1 kB / 287.6 MB, free: 3.109 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.02495, allocations: 28 kB / 287.6 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.02613, allocations: 0.6595 MB / 288.3 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.204e-05/0.02622, allocations: 107.3 kB / 288.4 MB, free: 2.316 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.0264, allocations: 219.3 kB / 288.6 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.02756, allocations: 1.059 MB / 289.6 MB, free: 1.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.02757, allocations: 0 / 289.6 MB, free: 1.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.02757, allocations: 0 / 289.6 MB, free: 1.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.02758, allocations: 4 kB / 289.6 MB, free: 1.035 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.1124/0.14, allocations: 1.397 MB / 291 MB, free: 34.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1401, allocations: 10.42 kB / 291 MB, free: 34.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.1403, allocations: 143.5 kB / 291.2 MB, free: 34.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009697/0.1412, allocations: 0.7454 MB / 291.9 MB, free: 34.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.1412, allocations: 21.75 kB / 292 MB, free: 34.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/0.1413, allocations: 27.27 kB / 292 MB, free: 34.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004711/0.1418, allocations: 247.1 kB / 292.2 MB, free: 34.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1418, allocations: 0 / 292.2 MB, free: 34.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.1418, allocations: 10.44 kB / 292.2 MB, free: 34.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.1418, allocations: 9.938 kB / 292.2 MB, free: 34.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.1421, allocations: 145.3 kB / 292.4 MB, free: 34.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.1437, allocations: 1.262 MB / 293.6 MB, free: 33.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.144, allocations: 182.9 kB / 293.8 MB, free: 33.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.1443, allocations: 151.9 kB / 294 MB, free: 33.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002604/0.1469, allocations: 1.543 MB / 295.5 MB, free: 32.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.1471, allocations: 148.4 kB / 295.7 MB, free: 32.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.505e-06/0.1471, allocations: 0 / 295.7 MB, free: 32.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009271/0.148, allocations: 458.8 kB / 296.1 MB, free: 32.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.1481, allocations: 59.48 kB / 296.2 MB, free: 32.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008638/0.1489, allocations: 0.898 MB / 297.1 MB, free: 31.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.1489, allocations: 32.72 kB / 297.1 MB, free: 31.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.1493, allocations: 0.5174 MB / 297.6 MB, free: 31.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/0.1493, allocations: 100.5 kB / 297.7 MB, free: 31.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1494, allocations: 76.12 kB / 297.8 MB, free: 31.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.162e-05/0.1495, allocations: 0.4901 MB / 298.3 MB, free: 30.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1496, allocations: 63.45 kB / 298.3 MB, free: 30.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.1498, allocations: 217.8 kB / 298.6 MB, free: 30.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.1501, allocations: 295.1 kB / 298.8 MB, free: 30.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1501, allocations: 0 / 298.8 MB, free: 30.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006237/0.1507, allocations: 439.6 kB / 299.3 MB, free: 30.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1507, allocations: 7.172 kB / 299.3 MB, free: 30.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.772e-05/0.1508, allocations: 36.58 kB / 299.3 MB, free: 30.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00022/0.151, allocations: 53.95 kB / 299.4 MB, free: 30.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.1512, allocations: 80.95 kB / 299.4 MB, free: 30.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.1524, allocations: 3.531 MB / 303 MB, free: 26.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.1526, allocations: 38.34 kB / 303 MB, free: 26.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.1527, allocations: 20.45 kB / 303 MB, free: 26.58 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.0001442/0.1528, allocations: 182.5 kB / 303.2 MB, free: 26.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.1529, allocations: 116.6 kB / 303.3 MB, free: 26.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006253/0.1536, allocations: 400.8 kB / 303.7 MB, free: 26.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1536, allocations: 2.594 kB / 303.7 MB, free: 26.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1536, allocations: 1.062 kB / 303.7 MB, free: 26.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1536, allocations: 1.359 kB / 303.7 MB, free: 26.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005705/0.1541, allocations: 0.5099 MB / 304.2 MB, free: 25.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.079e-05/0.1542, allocations: 33.72 kB / 304.3 MB, free: 25.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.1543, allocations: 46.94 kB / 304.3 MB, free: 25.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/0.1545, allocations: 48.98 kB / 304.4 MB, free: 25.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.1545, allocations: 10.75 kB / 304.4 MB, free: 25.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.1556, allocations: 3.519 MB / 307.9 MB, free: 22.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1556, allocations: 3.625 kB / 307.9 MB, free: 22.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006156/0.1562, allocations: 457.6 kB / 308.3 MB, free: 22.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.1563, allocations: 116.7 kB / 308.5 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.788e-05/0.1564, allocations: 10.34 kB / 308.5 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.1565, allocations: 8.812 kB / 308.5 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.79e-05/0.1566, allocations: 26.81 kB / 308.5 MB, free: 21.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.1567, allocations: 15.28 kB / 308.5 MB, free: 21.99 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005573/0.1572, allocations: 0.5311 MB / 309 MB, free: 21.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1572, allocations: 0 / 309 MB, free: 21.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006682/0.1579, allocations: 247.7 kB / 309.3 MB, free: 21.7 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.0005364/0.1584, allocations: 389 kB / 309.7 MB, free: 21.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006162/0.159, allocations: 0.5947 MB / 310.3 MB, free: 21.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.159, allocations: 0 / 310.3 MB, free: 21.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.1593, allocations: 0.4892 MB / 310.7 MB, free: 20.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.1598, allocations: 126.2 kB / 310.9 MB, free: 20.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.1615, allocations: 1.432 MB / 312.3 MB, free: 19.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.013e-05/0.1616, allocations: 149.6 kB / 312.5 MB, free: 19.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001888/0.1618, allocations: 79.98 kB / 312.5 MB, free: 19.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.1619, allocations: 44.5 kB / 312.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1619, allocations: 0 / 312.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of Templates: time 0.01161/0.1735, allocations: 8.498 MB / 321.1 MB, free: 10.89 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.973703496158123]