Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.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.000776/0.000776, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.001879, 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.0007059/0.0007059, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009294/0.001635, 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.9507/0.9507, allocations: 177.5 MB / 190 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08772/1.038, allocations: 53.87 MB / 243.9 MB, free: 14.88 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.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 245.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.574e-05, allocations: 5.828 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.004345/0.00436, allocations: 5.363 MB / 250.6 MB, free: 8.199 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0196/0.02396, allocations: 18.52 MB / 269.1 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.0251, allocations: 35.62 kB / 269.1 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.02715, allocations: 0.7327 MB / 269.9 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004513/0.03167, allocations: 1.622 MB / 271.5 MB, free: 3.203 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00359/0.03526, allocations: 1.267 MB / 272.7 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002621/0.03788, allocations: 1.859 MB / 274.6 MB, free: 68 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1201/0.158, allocations: 118.9 kB / 274.7 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.1596, allocations: 0.9952 MB / 275.7 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005626/0.1601, allocations: 282.2 kB / 276 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.096e-05/0.1602, allocations: 30.84 kB / 276 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.1634, allocations: 1.226 MB / 277.2 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.1635, allocations: 92.81 kB / 277.3 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000275/0.1638, allocations: 215.9 kB / 277.5 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002278/0.166, allocations: 1.3 MB / 278.8 MB, free: 4.199 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.518e-05/0.166, allocations: 3.688 kB / 278.9 MB, free: 4.199 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.166, allocations: 3.75 kB / 278.9 MB, free: 4.199 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.566e-05/0.1661, allocations: 1.094 kB / 278.9 MB, free: 4.199 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002334/0.1684, allocations: 1.582 MB / 280.4 MB, free: 3.328 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1685, allocations: 8.844 kB / 280.4 MB, free: 3.328 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.1687, allocations: 92.8 kB / 280.5 MB, free: 3.328 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008589/0.1695, allocations: 0.6287 MB / 281.2 MB, free: 2.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.1695, allocations: 19.61 kB / 281.2 MB, free: 2.984 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.1696, allocations: 27.14 kB / 281.2 MB, free: 2.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.17, allocations: 237.2 kB / 281.4 MB, free: 2.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.17, allocations: 0.5 kB / 281.4 MB, free: 2.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.17, allocations: 10.77 kB / 281.5 MB, free: 2.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1701, allocations: 8.188 kB / 281.5 MB, free: 2.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.1702, allocations: 81.64 kB / 281.5 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.1714, allocations: 0.6969 MB / 282.2 MB, free: 2.629 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.1716, allocations: 141 kB / 282.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.1718, allocations: 93.45 kB / 282.5 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008201/0.18, allocations: 5.91 MB / 288.4 MB, free: 17.56 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.1802, allocations: 114.6 kB / 288.5 MB, free: 17.51 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 2.134e-06/0.1802, allocations: 0 / 288.5 MB, free: 17.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002894/0.1805, allocations: 179.5 kB / 288.7 MB, free: 17.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.1805, allocations: 58.41 kB / 288.7 MB, free: 17.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000575/0.1811, allocations: 0.8072 MB / 289.5 MB, free: 17.26 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.1811, allocations: 35.73 kB / 289.6 MB, free: 17.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.1813, allocations: 300.4 kB / 289.9 MB, free: 17.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.1813, allocations: 64.84 kB / 289.9 MB, free: 17.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.931e-05/0.1814, allocations: 81.02 kB / 290 MB, free: 17.01 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.708e-05/0.1815, allocations: 321.6 kB / 290.3 MB, free: 16.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.637e-05/0.1815, allocations: 28.22 kB / 290.3 MB, free: 16.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.739e-05/0.1816, allocations: 172.2 kB / 290.5 MB, free: 16.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.1818, allocations: 246.1 kB / 290.7 MB, free: 16.37 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1818, allocations: 7.125 kB / 290.8 MB, free: 16.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003066/0.1821, allocations: 264.2 kB / 291 MB, free: 16.33 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1821, allocations: 7.438 kB / 291 MB, free: 16.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/0.1822, allocations: 13.38 kB / 291 MB, free: 16.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1822, allocations: 6.344 kB / 291 MB, free: 16.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.1824, allocations: 85.75 kB / 291.1 MB, free: 16.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1824, allocations: 15 kB / 291.1 MB, free: 16.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.1827, allocations: 58.23 kB / 291.2 MB, free: 16.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.1827, allocations: 9.75 kB / 291.2 MB, free: 16.31 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (VDS.counter,$PRE.VDS.counter,VGS.counter,$PRE.VGS.counter,VGS.counter2,$PRE.VGS.counter2,VGS.T0,$PRE.VGS.T0,VDS.counter2,$PRE.VDS.counter2,VDS.T0,$PRE.VDS.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.1828, allocations: 137.9 kB / 291.3 MB, free: 16.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.348e-05/0.1829, allocations: 76.66 kB / 291.4 MB, free: 16.19 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/0.1833, allocations: 262.1 kB / 291.7 MB, free: 16.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1833, allocations: 3.219 kB / 291.7 MB, free: 16.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1833, allocations: 0 / 291.7 MB, free: 16.11 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1833, allocations: 4.578 kB / 291.7 MB, free: 16.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.1838, allocations: 461.1 kB / 292.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/0.1838, allocations: 3.938 kB / 292.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.1839, allocations: 36.14 kB / 292.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.1841, allocations: 117.6 kB / 292.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1841, allocations: 0 / 292.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.1841, allocations: 8.969 kB / 292.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1841, allocations: 0 / 292.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1841, allocations: 4.062 kB / 292.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.1843, allocations: 207.4 kB / 292.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.962e-05/0.1844, allocations: 11 kB / 292.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.1846, allocations: 20.22 kB / 292.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.1847, allocations: 28.17 kB / 292.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.1847, allocations: 7.281 kB / 292.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003176/0.185, allocations: 404.9 kB / 293 MB, free: 15.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.185, allocations: 0 / 293 MB, free: 15.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005832/0.1856, allocations: 222.6 kB / 293.2 MB, free: 15.75 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VDS.T0,VDS.counter,VDS.counter2,VGS.T0,VGS.counter,VGS.counter2) * Number of discrete states: 4 (VGS.counter,VDS.counter,VGS.counter2,VDS.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006294/0.1862, allocations: 0.5291 MB / 293.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.1865, allocations: 178 kB / 293.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.899e-05/0.1865, allocations: 12.78 kB / 293.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.1866, allocations: 96.42 kB / 294 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.1879, allocations: 1.654 MB / 295.6 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/0.1916, allocations: 1.29 MB / 296.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.591e-05/0.1917, allocations: 152.7 kB / 297.1 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002419/0.1919, allocations: 93.14 kB / 297.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/0.1922, allocations: 198.2 kB / 297.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1922, allocations: 0 / 297.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of Templates: time 0.02256/0.2148, allocations: 15.54 MB / 312.9 MB, free: 14.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.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.84626848064363]