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.001115/0.001115, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001838/0.002953, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001137/0.001137, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001549/0.002686, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9491/0.9491, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09092/1.04, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093e-05/1.205e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.01087/0.01088, allocations: 4.867 MB / 250.1 MB, free: 8.648 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008896/0.01978, allocations: 10.22 MB / 260.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004023/0.02018, allocations: 39.56 kB / 260.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.02126, allocations: 0.6536 MB / 261 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.02281, allocations: 1.026 MB / 262 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009117/0.02372, allocations: 0.5244 MB / 262.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.0249, allocations: 1.436 MB / 264 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.02505, allocations: 122.3 kB / 264.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005537/0.02561, allocations: 0.7135 MB / 264.8 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.02583, allocations: 243.1 kB / 265 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.02587, allocations: 32 kB / 265.1 MB, free: 9.547 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008829/0.02676, allocations: 0.7638 MB / 265.8 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.02682, allocations: 95.38 kB / 265.9 MB, free: 8.688 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003629/0.02718, allocations: 199.4 kB / 266.1 MB, free: 8.492 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008533/0.02804, allocations: 0.9769 MB / 267.1 MB, free: 7.512 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.02805, allocations: 0 / 267.1 MB, free: 7.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.02805, allocations: 0 / 267.1 MB, free: 7.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.02806, allocations: 0 / 267.1 MB, free: 7.512 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.001048/0.02911, allocations: 1.527 MB / 268.6 MB, free: 5.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.606e-05/0.02913, allocations: 12.62 kB / 268.6 MB, free: 5.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.932e-05/0.02922, allocations: 92.83 kB / 268.7 MB, free: 5.836 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005224/0.02975, allocations: 0.5976 MB / 269.3 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.02976, allocations: 24.97 kB / 269.4 MB, free: 5.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.02979, allocations: 28.38 kB / 269.4 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.03003, allocations: 225.5 kB / 269.6 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.03004, allocations: 0 / 269.6 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.03005, allocations: 12 kB / 269.6 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.03006, allocations: 12 kB / 269.6 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.03018, allocations: 87.17 kB / 269.7 MB, free: 4.793 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007786/0.03096, allocations: 0.8564 MB / 270.6 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.03113, allocations: 182.4 kB / 270.7 MB, free: 3.691 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.03123, allocations: 121.7 kB / 270.9 MB, free: 3.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001675/0.03291, allocations: 1.533 MB / 272.4 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.03303, allocations: 135.2 kB / 272.5 MB, free: 1.871 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.002e-06/0.03303, allocations: 0 / 272.5 MB, free: 1.871 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004491/0.03348, allocations: 303.8 kB / 272.8 MB, free: 1.562 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.03351, allocations: 63.39 kB / 272.9 MB, free: 1.488 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.03394, allocations: 0.7303 MB / 273.6 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.03395, allocations: 29.7 kB / 273.6 MB, free: 0.707 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.03408, allocations: 290.8 kB / 273.9 MB, free: 424 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/0.03414, allocations: 103.1 kB / 274 MB, free: 320 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.03419, allocations: 69.94 kB / 274.1 MB, free: 244 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.1101/0.1443, allocations: 321.9 kB / 274.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.1444, allocations: 31.05 kB / 274.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.118e-05/0.1445, allocations: 150 kB / 274.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.1447, allocations: 239.1 kB / 274.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1447, allocations: 1.031 kB / 274.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004382/0.1451, allocations: 306 kB / 275.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1451, allocations: 11.58 kB / 275.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.033e-05/0.1452, allocations: 10.64 kB / 275.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/0.1453, allocations: 45.08 kB / 275.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.1455, allocations: 86.48 kB / 275.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007764/0.1463, allocations: 2.361 MB / 277.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.1465, allocations: 40.38 kB / 277.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.1465, allocations: 13.66 kB / 277.7 MB, free: 11.89 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.0001216/0.1466, allocations: 134.6 kB / 277.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.942e-05/0.1467, allocations: 74.86 kB / 277.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/0.1471, allocations: 304.6 kB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1471, allocations: 2.281 kB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1471, allocations: 4.734 kB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1471, allocations: 3.156 kB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.1474, allocations: 314.2 kB / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/0.1474, allocations: 10.05 kB / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.1476, allocations: 44.56 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.1477, allocations: 98.16 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.1478, allocations: 49.91 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1478, allocations: 6.406 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006674/0.1485, allocations: 2.357 MB / 281.1 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1485, allocations: 3.938 kB / 281.1 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.1488, allocations: 316.3 kB / 281.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.1488, allocations: 9.094 kB / 281.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.1489, allocations: 11.14 kB / 281.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.137e-05/0.149, allocations: 22.97 kB / 281.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.149, allocations: 7.25 kB / 281.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002933/0.1493, allocations: 366.6 kB / 281.8 MB, free: 9.234 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1493, allocations: 0 / 281.8 MB, free: 9.234 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004773/0.1498, allocations: 250.2 kB / 282 MB, free: 9.234 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.0005572/0.1504, allocations: 403.7 kB / 282.4 MB, free: 9.164 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004309/0.1508, allocations: 433.9 kB / 282.9 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.892e-05/0.1508, allocations: 15.48 kB / 282.9 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.151, allocations: 347.8 kB / 283.2 MB, free: 8.637 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005425/0.1516, allocations: 0.8472 MB / 284.1 MB, free: 7.941 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.154, allocations: 1.343 MB / 285.4 MB, free: 7.289 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.1541, allocations: 155 kB / 285.5 MB, free: 7.211 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.1542, allocations: 87.41 kB / 285.6 MB, free: 7.184 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.1544, allocations: 153.9 kB / 285.8 MB, free: 7.137 MB / 266.7 MB Notification: Performance of SimCode: time 1.252e-06/0.1544, allocations: 1.125 kB / 285.8 MB, free: 7.137 MB / 266.7 MB Notification: Performance of Templates: time 0.01174/0.1662, allocations: 9.877 MB / 295.7 MB, free: 4.516 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7385687893256545]