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.001007/0.001007, allocations: 91.61 kB / 22.18 MB, free: 2.371 MB / 18.57 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.0009279/0.0009279, allocations: 155.7 kB / 25.45 MB, free: 8.863 MB / 18.57 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.8387/0.8387, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.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=99,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=99,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.893e-06/1.893e-06, allocations: 0 / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.658e-05, allocations: 2.281 kB / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.003782/0.003809, allocations: 4.754 MB / 304.5 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.01588, allocations: 15.82 MB / 320.3 MB, free: 2.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006576/0.01653, allocations: 39.62 kB / 320.3 MB, free: 2.215 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.01814, allocations: 0.7098 MB / 321 MB, free: 1.504 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003066/0.0212, allocations: 1.621 MB / 322.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.02342, allocations: 1.261 MB / 323.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001787/0.02521, allocations: 1.824 MB / 325.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.0254, allocations: 101.7 kB / 325.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004535/0.02586, allocations: 470.8 kB / 326.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.0261, allocations: 255.2 kB / 326.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.02614, allocations: 35.98 kB / 326.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00203/0.02817, allocations: 1.046 MB / 327.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.0283, allocations: 119.2 kB / 327.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.02857, allocations: 247.2 kB / 328 MB, free: 10.51 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.03078, allocations: 1.694 MB / 329.7 MB, free: 8.809 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.03078, allocations: 0 / 329.7 MB, free: 8.809 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.03078, allocations: 0 / 329.7 MB, free: 8.809 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.0308, allocations: 0 / 329.7 MB, free: 8.809 MB / 314.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.001906/0.0327, allocations: 1.341 MB / 331 MB, free: 7.434 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.03274, allocations: 11.98 kB / 331 MB, free: 7.422 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.0329, allocations: 131.2 kB / 331.1 MB, free: 7.293 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009983/0.03389, allocations: 0.7072 MB / 331.9 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.03392, allocations: 16.5 kB / 331.9 MB, free: 6.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.03398, allocations: 23.95 kB / 331.9 MB, free: 6.496 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006546/0.03464, allocations: 336.8 kB / 332.2 MB, free: 6.164 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.03465, allocations: 7.938 kB / 332.2 MB, free: 6.156 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.03469, allocations: 15.98 kB / 332.2 MB, free: 6.141 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.0347, allocations: 4 kB / 332.2 MB, free: 6.137 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007259/0.03542, allocations: 337.9 kB / 332.6 MB, free: 5.801 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.03702, allocations: 1.065 MB / 333.6 MB, free: 4.684 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006594/0.03767, allocations: 254.6 kB / 333.9 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/0.03809, allocations: 212.6 kB / 334.1 MB, free: 4.219 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004631/0.04272, allocations: 3.641 MB / 337.7 MB, free: 480 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/0.04303, allocations: 207.1 kB / 337.9 MB, free: 260 kB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.502e-06/0.04303, allocations: 0 / 337.9 MB, free: 260 kB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.000775/0.04381, allocations: 488.7 kB / 338.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.04385, allocations: 59.34 kB / 338.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006421/0.04449, allocations: 0.8941 MB / 339.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.04451, allocations: 33.7 kB / 339.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.04475, allocations: 464.8 kB / 339.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.0448, allocations: 71.41 kB / 339.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/0.04488, allocations: 89.59 kB / 340 MB, free: 14.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.238e-05/0.04496, allocations: 318 kB / 340.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.04515, allocations: 123.9 kB / 340.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.04541, allocations: 257.9 kB / 340.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.04584, allocations: 393.6 kB / 341.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.04584, allocations: 7.938 kB / 341.1 MB, free: 12.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005651/0.04641, allocations: 0.497 MB / 341.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.04643, allocations: 11.98 kB / 341.6 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.04645, allocations: 24.03 kB / 341.6 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.04647, allocations: 11.98 kB / 341.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.04664, allocations: 83.88 kB / 341.7 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.04665, allocations: 11.88 kB / 341.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.04683, allocations: 55.7 kB / 341.8 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.04686, allocations: 27.98 kB / 341.8 MB, free: 12.19 MB / 330.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.0001754/0.04704, allocations: 201.8 kB / 342 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.04711, allocations: 111.3 kB / 342.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000668/0.04778, allocations: 475.4 kB / 342.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.04778, allocations: 4 kB / 342.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.04778, allocations: 3.938 kB / 342.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.04779, allocations: 0 / 342.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.04814, allocations: 483.1 kB / 343.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/0.04816, allocations: 28.05 kB / 343.1 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.04828, allocations: 43.89 kB / 343.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.04828, allocations: 0 / 343.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.0483, allocations: 12 kB / 343.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.0483, allocations: 0 / 343.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.0483, allocations: 4 kB / 343.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.0488, allocations: 451.1 kB / 343.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.04894, allocations: 131.1 kB / 343.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.04899, allocations: 7.984 kB / 343.7 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.04913, allocations: 27.97 kB / 343.7 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.04921, allocations: 31.95 kB / 343.8 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.04923, allocations: 20 kB / 343.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004381/0.04966, allocations: 0.5881 MB / 344.4 MB, free: 9.516 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04966, allocations: 0 / 344.4 MB, free: 9.516 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000431/0.05009, allocations: 223.7 kB / 344.6 MB, free: 9.297 MB / 330.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.0005058/0.0506, allocations: 0.4921 MB / 345.1 MB, free: 8.801 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005128/0.05111, allocations: 338.3 kB / 345.4 MB, free: 8.465 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.05112, allocations: 0 / 345.4 MB, free: 8.465 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.05135, allocations: 182.6 kB / 345.6 MB, free: 8.281 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.05174, allocations: 140.5 kB / 345.7 MB, free: 8.145 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.05338, allocations: 1.462 MB / 347.2 MB, free: 6.637 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.05357, allocations: 370.4 kB / 347.6 MB, free: 6.242 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.192e-05/0.05365, allocations: 56.5 kB / 347.6 MB, free: 6.188 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.05365, allocations: 3.938 kB / 347.6 MB, free: 6.184 MB / 330.7 MB Notification: Performance of Templates: time 0.1526/0.2063, allocations: 12.93 MB / 360.6 MB, free: 60.67 MB / 330.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,VGS.p.v,M1.D.i Variables in the result:M1.D.i,VGS.p.v,time [Calling sys.exit(0), Time elapsed: 5.47149259224534]