Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.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.0007346/0.0007346, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0011/0.001835, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.000984/0.000984, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00141/0.002394, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8262/0.8262, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1426/0.9689, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.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.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.878e-06/1.131e-05, allocations: 2.312 kB / 239.7 MB, free: 6.355 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.00809/0.008102, allocations: 5.367 MB / 245.1 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.02/0.0281, allocations: 18.47 MB / 263.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000359/0.02846, allocations: 35.62 kB / 263.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.02969, allocations: 0.7482 MB / 264.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002317/0.03201, allocations: 1.614 MB / 266 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.03383, allocations: 1.263 MB / 267.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.03533, allocations: 1.839 MB / 269.1 MB, free: 8.941 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.03553, allocations: 118.2 kB / 269.2 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007736/0.03631, allocations: 0.9775 MB / 270.2 MB, free: 7.805 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.03657, allocations: 279.1 kB / 270.4 MB, free: 7.531 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.64e-05/0.03661, allocations: 32 kB / 270.5 MB, free: 7.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.0381, allocations: 1.233 MB / 271.7 MB, free: 6.266 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.376e-05/0.03817, allocations: 91.38 kB / 271.8 MB, free: 6.176 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.03832, allocations: 215.3 kB / 272 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.03943, allocations: 1.3 MB / 273.3 MB, free: 4.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.03944, allocations: 0 / 273.3 MB, free: 4.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.03944, allocations: 0 / 273.3 MB, free: 4.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.03945, allocations: 4 kB / 273.3 MB, free: 4.656 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.001099/0.04055, allocations: 1.571 MB / 274.9 MB, free: 3.039 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.193e-05/0.04057, allocations: 12.03 kB / 274.9 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.591e-05/0.04066, allocations: 95.83 kB / 275 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005293/0.04119, allocations: 0.637 MB / 275.6 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.0412, allocations: 24.48 kB / 275.6 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.04124, allocations: 24 kB / 275.7 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.04151, allocations: 232.4 kB / 275.9 MB, free: 1.961 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.04152, allocations: 0 / 275.9 MB, free: 1.961 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.04154, allocations: 12 kB / 275.9 MB, free: 1.949 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.04155, allocations: 8 kB / 275.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.04167, allocations: 87.86 kB / 276 MB, free: 1.859 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008975/0.04257, allocations: 0.6909 MB / 276.7 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.04272, allocations: 134.7 kB / 276.8 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.289e-05/0.04281, allocations: 89.06 kB / 276.9 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005411/0.04823, allocations: 5.906 MB / 282.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.04837, allocations: 123.2 kB / 282.9 MB, free: 10.63 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.04837, allocations: 0 / 282.9 MB, free: 10.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002103/0.04858, allocations: 184.7 kB / 283.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.0486, allocations: 55.41 kB / 283.2 MB, free: 10.38 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005789/0.04918, allocations: 0.8013 MB / 284 MB, free: 9.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.0492, allocations: 29.7 kB / 284 MB, free: 9.535 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.04932, allocations: 302.8 kB / 284.3 MB, free: 9.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.04936, allocations: 63.48 kB / 284.4 MB, free: 9.168 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/0.04943, allocations: 73.58 kB / 284.4 MB, free: 9.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.04949, allocations: 322 kB / 284.7 MB, free: 8.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.937e-05/0.04953, allocations: 27.98 kB / 284.8 MB, free: 8.742 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.958e-05/0.04963, allocations: 193.5 kB / 285 MB, free: 8.488 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.04979, allocations: 243.7 kB / 285.2 MB, free: 8.188 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.04979, allocations: 3.938 kB / 285.2 MB, free: 8.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000221/0.05001, allocations: 263.9 kB / 285.5 MB, free: 7.922 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.05002, allocations: 11.94 kB / 285.5 MB, free: 7.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.05004, allocations: 12.02 kB / 285.5 MB, free: 7.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.05005, allocations: 8 kB / 285.5 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.05024, allocations: 99.81 kB / 285.6 MB, free: 7.793 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.05024, allocations: 8 kB / 285.6 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.05039, allocations: 43.72 kB / 285.6 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.05041, allocations: 16 kB / 285.6 MB, free: 7.727 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.0001055/0.05052, allocations: 145.6 kB / 285.8 MB, free: 7.574 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.05057, allocations: 75.84 kB / 285.9 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.05086, allocations: 247.7 kB / 286.1 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.05087, allocations: 0 / 286.1 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.05087, allocations: 0 / 286.1 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.05087, allocations: 4 kB / 286.1 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.05115, allocations: 464.9 kB / 286.6 MB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.05116, allocations: 0 / 286.6 MB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.944e-05/0.05125, allocations: 35.97 kB / 286.6 MB, free: 6.723 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.05138, allocations: 115.2 kB / 286.7 MB, free: 6.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.05138, allocations: 3.938 kB / 286.7 MB, free: 6.605 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.05139, allocations: 7.984 kB / 286.7 MB, free: 6.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.0514, allocations: 4 kB / 286.7 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.0514, allocations: 12 kB / 286.7 MB, free: 6.582 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.05157, allocations: 207.9 kB / 286.9 MB, free: 6.355 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.05161, allocations: 7.984 kB / 287 MB, free: 6.348 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.05173, allocations: 15.98 kB / 287 MB, free: 6.332 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.05178, allocations: 27.95 kB / 287 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.0518, allocations: 4 kB / 287 MB, free: 6.301 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000224/0.05202, allocations: 408.8 kB / 287.4 MB, free: 5.895 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05202, allocations: 0 / 287.4 MB, free: 5.895 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002873/0.05231, allocations: 227.6 kB / 287.6 MB, free: 5.672 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.0004388/0.05275, allocations: 0.5252 MB / 288.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.05294, allocations: 172.2 kB / 288.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/0.05295, allocations: 17.88 kB / 288.3 MB, free: 4.949 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.29e-05/0.05304, allocations: 86.48 kB / 288.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/0.05381, allocations: 1.658 MB / 290.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.05629, allocations: 1.289 MB / 291.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.899e-05/0.05636, allocations: 142.2 kB / 291.5 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.05651, allocations: 102 kB / 291.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.05673, allocations: 193.3 kB / 291.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.05673, allocations: 0 / 291.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of Templates: time 0.01458/0.07131, allocations: 15.5 MB / 307.3 MB, free: 1.746 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5774063523858786]