Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001205/0.001205, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001826/0.003031, allocations: 453.8 kB / 10.46 MB, free: 236 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.001129/0.001129, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.002642, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8934/0.8934, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.177/1.07, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.342e-05/3.541e-05, allocations: 2.312 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.007099/0.007134, allocations: 5.21 MB / 227.2 MB, free: 10.81 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01848/0.02562, allocations: 17.56 MB / 244.8 MB, free: 9.188 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.02677, allocations: 35.62 kB / 244.8 MB, free: 9.152 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002065/0.02883, allocations: 0.7363 MB / 245.5 MB, free: 8.414 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005543/0.03437, allocations: 1.571 MB / 247.1 MB, free: 6.828 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00443/0.0388, allocations: 1.227 MB / 248.3 MB, free: 5.594 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002952/0.04176, allocations: 1.808 MB / 250.1 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.04209, allocations: 122.2 kB / 250.2 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.04335, allocations: 0.9425 MB / 251.2 MB, free: 2.684 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.0437, allocations: 275.1 kB / 251.5 MB, free: 2.414 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.923e-05/0.04376, allocations: 32 kB / 251.5 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003074/0.04683, allocations: 1.101 MB / 252.6 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.04698, allocations: 87.38 kB / 252.7 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.04725, allocations: 219.3 kB / 252.9 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002324/0.04957, allocations: 1.304 MB / 254.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.75e-05/0.04959, allocations: 4 kB / 254.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.04959, allocations: 0 / 254.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.039e-05/0.04961, allocations: 4 kB / 254.2 MB, free: 15.66 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.001712/0.05133, allocations: 1.582 MB / 255.8 MB, free: 14.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.05137, allocations: 8.031 kB / 255.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.05149, allocations: 95.89 kB / 255.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006936/0.05219, allocations: 0.6449 MB / 256.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.05221, allocations: 16.5 kB / 256.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/0.05226, allocations: 27.98 kB / 256.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/0.05261, allocations: 232.4 kB / 256.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.05262, allocations: 7.938 kB / 256.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.05265, allocations: 12 kB / 256.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.05266, allocations: 8 kB / 256.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.0528, allocations: 79.92 kB / 256.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.05415, allocations: 0.7027 MB / 257.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.05439, allocations: 134.6 kB / 257.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.05452, allocations: 93.06 kB / 257.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006662/0.06118, allocations: 5.937 MB / 263.8 MB, free: 5.715 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.06142, allocations: 119.2 kB / 263.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 2.575e-06/0.06142, allocations: 0 / 263.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003918/0.06181, allocations: 177.5 kB / 264.1 MB, free: 5.406 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.06186, allocations: 59.39 kB / 264.1 MB, free: 5.336 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008272/0.06269, allocations: 0.8172 MB / 264.9 MB, free: 4.508 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.06272, allocations: 25.7 kB / 265 MB, free: 4.477 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.0629, allocations: 306.8 kB / 265.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.06294, allocations: 63.56 kB / 265.3 MB, free: 4.109 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.042e-05/0.06303, allocations: 73.58 kB / 265.4 MB, free: 4.031 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.06314, allocations: 321.9 kB / 265.7 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.421e-05/0.06319, allocations: 31.94 kB / 265.7 MB, free: 3.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.06333, allocations: 165.9 kB / 265.9 MB, free: 3.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.06358, allocations: 257.5 kB / 266.2 MB, free: 3.137 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.06359, allocations: 0 / 266.2 MB, free: 3.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003762/0.06396, allocations: 277.5 kB / 266.4 MB, free: 2.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.06398, allocations: 8 kB / 266.4 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/0.06401, allocations: 4 kB / 266.4 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.06403, allocations: 8 kB / 266.4 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.06426, allocations: 95.88 kB / 266.5 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.06427, allocations: 11.94 kB / 266.5 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.06446, allocations: 39.77 kB / 266.6 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.06449, allocations: 16 kB / 266.6 MB, free: 2.68 MB / 266.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.0001368/0.06463, allocations: 137.7 kB / 266.7 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.0647, allocations: 71.91 kB / 266.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/0.06508, allocations: 263.6 kB / 267.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.06508, allocations: 4 kB / 267.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.06508, allocations: 4 kB / 267.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.06509, allocations: 3.984 kB / 267.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003974/0.06549, allocations: 457 kB / 267.5 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.0655, allocations: 4 kB / 267.5 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.06562, allocations: 39.97 kB / 267.6 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.06578, allocations: 115.2 kB / 267.7 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.06578, allocations: 8 kB / 267.7 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.0658, allocations: 7.984 kB / 267.7 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.0658, allocations: 0 / 267.7 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.0658, allocations: 0 / 267.7 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.06601, allocations: 208 kB / 267.9 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.06608, allocations: 8 kB / 267.9 MB, free: 1.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.0662, allocations: 23.97 kB / 267.9 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.593e-05/0.06628, allocations: 27.89 kB / 268 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.0663, allocations: 8 kB / 268 MB, free: 1.238 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003132/0.06661, allocations: 405.1 kB / 268.4 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06661, allocations: 4 kB / 268.4 MB, free: 0.832 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005127/0.06712, allocations: 227.7 kB / 268.6 MB, free: 0.6094 MB / 266.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.000639/0.06776, allocations: 0.5252 MB / 269.1 MB, free: 76 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.06802, allocations: 176.4 kB / 269.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.67e-05/0.06804, allocations: 12.56 kB / 269.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.06815, allocations: 97.2 kB / 269.4 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008798/0.06903, allocations: 1.629 MB / 271 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.07191, allocations: 1.293 MB / 272.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.46e-05/0.07201, allocations: 149.9 kB / 272.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.07221, allocations: 102 kB / 272.6 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.07248, allocations: 197.3 kB / 272.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of SimCode: time 2.435e-06/0.07249, allocations: 0 / 272.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of Templates: time 0.1427/0.2152, allocations: 15.57 MB / 288.3 MB, free: 40.86 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.1166586447507143]