Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000741/0.000741, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001101/0.001842, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000706/0.000706, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009083/0.001614, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9482/0.9482, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1055/1.054, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.911e-05, allocations: 6.312 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.00439/0.00441, allocations: 5.374 MB / 250.1 MB, free: 8.832 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.01824, allocations: 18.51 MB / 268.6 MB, free: 6.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006052/0.01885, allocations: 35.62 kB / 268.6 MB, free: 6.215 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.02027, allocations: 0.7521 MB / 269.4 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.02313, allocations: 1.603 MB / 271 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.02511, allocations: 1.267 MB / 272.2 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.02679, allocations: 1.867 MB / 274.1 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.02698, allocations: 118.2 kB / 274.2 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1131/0.1401, allocations: 0.9875 MB / 275.2 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005886/0.1407, allocations: 280.3 kB / 275.5 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.556e-05/0.1407, allocations: 32.94 kB / 275.5 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003969/0.1447, allocations: 1.231 MB / 276.7 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.1449, allocations: 93.92 kB / 276.8 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004608/0.1454, allocations: 215.2 kB / 277.1 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.1477, allocations: 1.302 MB / 278.4 MB, free: 4.621 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.627e-05/0.1477, allocations: 0.5 kB / 278.4 MB, free: 4.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1477, allocations: 0 / 278.4 MB, free: 4.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.42e-05/0.1477, allocations: 2.984 kB / 278.4 MB, free: 4.621 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.001989/0.1497, allocations: 1.578 MB / 279.9 MB, free: 3.758 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1497, allocations: 10.19 kB / 279.9 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.1499, allocations: 90.41 kB / 280 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008102/0.1507, allocations: 0.6374 MB / 280.7 MB, free: 3.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1508, allocations: 16.7 kB / 280.7 MB, free: 3.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/0.1508, allocations: 31.11 kB / 280.7 MB, free: 3.406 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.1512, allocations: 235 kB / 280.9 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1512, allocations: 1.969 kB / 280.9 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.1513, allocations: 9.75 kB / 281 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.1513, allocations: 6.984 kB / 281 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.1514, allocations: 83.69 kB / 281 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.1527, allocations: 0.6972 MB / 281.7 MB, free: 3.055 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.1529, allocations: 137.7 kB / 281.9 MB, free: 2.988 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.1531, allocations: 91.47 kB / 282 MB, free: 2.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007526/0.1606, allocations: 5.906 MB / 287.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.1608, allocations: 122.7 kB / 288 MB, free: 1.949 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 2.905e-06/0.1608, allocations: 2.812 kB / 288 MB, free: 1.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.000284/0.1611, allocations: 183.2 kB / 288.2 MB, free: 1.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.1611, allocations: 56.69 kB / 288.2 MB, free: 1.848 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005043/0.1616, allocations: 0.8028 MB / 289 MB, free: 1.695 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1616, allocations: 33.11 kB / 289.1 MB, free: 1.664 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.1618, allocations: 302.7 kB / 289.4 MB, free: 17.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.1619, allocations: 61.45 kB / 289.4 MB, free: 17.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.1619, allocations: 80.34 kB / 289.5 MB, free: 17.45 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.911e-05/0.162, allocations: 320.9 kB / 289.8 MB, free: 17.15 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-05/0.1621, allocations: 29.81 kB / 289.8 MB, free: 17.15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.63e-05/0.1621, allocations: 169.2 kB / 290 MB, free: 16.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.1623, allocations: 256 kB / 290.3 MB, free: 16.8 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1623, allocations: 3.188 kB / 290.3 MB, free: 16.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002506/0.1625, allocations: 272.4 kB / 290.5 MB, free: 16.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1626, allocations: 3.75 kB / 290.5 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.1626, allocations: 7.188 kB / 290.5 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1626, allocations: 7.281 kB / 290.5 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.1628, allocations: 99.3 kB / 290.6 MB, free: 16.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1628, allocations: 8.312 kB / 290.6 MB, free: 16.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.163, allocations: 39.47 kB / 290.7 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.163, allocations: 17.31 kB / 290.7 MB, free: 16.75 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.0001172/0.1631, allocations: 138.7 kB / 290.8 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.1632, allocations: 69.88 kB / 290.9 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003454/0.1635, allocations: 264.7 kB / 291.2 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1635, allocations: 2.125 kB / 291.2 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1635, allocations: 5 kB / 291.2 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1635, allocations: 0 / 291.2 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.1639, allocations: 469 kB / 291.6 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.1639, allocations: 3.562 kB / 291.6 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.656e-05/0.164, allocations: 41.08 kB / 291.7 MB, free: 16.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1641, allocations: 107.7 kB / 291.8 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1641, allocations: 3.891 kB / 291.8 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1641, allocations: 3.375 kB / 291.8 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1641, allocations: 0 / 291.8 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.1641, allocations: 3.938 kB / 291.8 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.1643, allocations: 213.7 kB / 292 MB, free: 16.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.1643, allocations: 7.531 kB / 292 MB, free: 16.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.1645, allocations: 23.97 kB / 292 MB, free: 16.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.1645, allocations: 24.92 kB / 292.1 MB, free: 16.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.1646, allocations: 3.188 kB / 292.1 MB, free: 16.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000215/0.1648, allocations: 408.5 kB / 292.5 MB, free: 16.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1648, allocations: 3.188 kB / 292.5 MB, free: 16.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004264/0.1652, allocations: 226.4 kB / 292.7 MB, free: 16.18 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.0005438/0.1657, allocations: 0.5231 MB / 293.2 MB, free: 16.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.166, allocations: 177.1 kB / 293.4 MB, free: 16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-05/0.166, allocations: 13.34 kB / 293.4 MB, free: 16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.816e-05/0.1661, allocations: 98.78 kB / 293.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008081/0.1669, allocations: 1.647 MB / 295.1 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.1696, allocations: 1.296 MB / 296.4 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.487e-05/0.1697, allocations: 146.9 kB / 296.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001878/0.1699, allocations: 100.3 kB / 296.7 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.1701, allocations: 195.3 kB / 296.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1701, allocations: 4 kB / 296.9 MB, free: 13.47 MB / 282.7 MB Notification: Performance of Templates: time 0.01742/0.1875, allocations: 15.55 MB / 312.4 MB, free: 15.33 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.9104095976799726]