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.001897/0.001897, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 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.002225/0.002225, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 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 1.501/1.501, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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=99,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=99,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 0.001676/0.001676, allocations: 47.92 kB / 371.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2376, allocations: 52.19 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006814/0.2444, allocations: 5.589 MB / 429.5 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02278/0.2672, allocations: 19.49 MB / 449 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007846/0.268, allocations: 35.62 kB / 449 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.2702, allocations: 0.828 MB / 449.8 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005142/0.2754, allocations: 1.629 MB / 451.4 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003876/0.2793, allocations: 1.32 MB / 452.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00315/0.2824, allocations: 1.805 MB / 454.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.2827, allocations: 109.6 kB / 454.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005119/0.2832, allocations: 374.3 kB / 455 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004941/0.2837, allocations: 369.8 kB / 455.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.746e-05/0.2837, allocations: 32 kB / 455.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003556/0.2873, allocations: 1.432 MB / 456.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.2874, allocations: 115.2 kB / 457 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004826/0.2879, allocations: 433.4 kB / 457.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002784/0.2907, allocations: 1.611 MB / 459 MB, free: 11.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2907, allocations: 4 kB / 459 MB, free: 11.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2907, allocations: 0 / 459 MB, free: 11.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.2907, allocations: 0 / 459 MB, free: 11.37 MB / 366.1 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.002258/0.293, allocations: 1.345 MB / 460.4 MB, free: 9.988 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.293, allocations: 8.031 kB / 460.4 MB, free: 9.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.2932, allocations: 131.2 kB / 460.5 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.2943, allocations: 0.7071 MB / 461.2 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.2943, allocations: 16.5 kB / 461.2 MB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.2944, allocations: 31.94 kB / 461.3 MB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000774/0.2952, allocations: 336.8 kB / 461.6 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2952, allocations: 0 / 461.6 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.2952, allocations: 8 kB / 461.6 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.2952, allocations: 11.94 kB / 461.6 MB, free: 8.699 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008885/0.2961, allocations: 349.9 kB / 461.9 MB, free: 8.359 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.2981, allocations: 1.178 MB / 463.1 MB, free: 7.117 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008344/0.299, allocations: 254.6 kB / 463.4 MB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.2995, allocations: 209 kB / 463.6 MB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007154/0.3067, allocations: 3.637 MB / 467.2 MB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005456/0.3072, allocations: 203.2 kB / 467.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.034e-06/0.3072, allocations: 0 / 467.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001387/0.3086, allocations: 499.1 kB / 467.9 MB, free: 2.203 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.3086, allocations: 63.33 kB / 468 MB, free: 2.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.3097, allocations: 0.8863 MB / 468.8 MB, free: 1.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.3097, allocations: 37.7 kB / 468.9 MB, free: 1.188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004462/0.3101, allocations: 472.7 kB / 469.3 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.054e-05/0.3102, allocations: 55.58 kB / 469.4 MB, free: 0.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.3104, allocations: 81.61 kB / 469.5 MB, free: 0.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3105, allocations: 322 kB / 469.8 MB, free: 268 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.3109, allocations: 123.9 kB / 469.9 MB, free: 144 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.3114, allocations: 261.8 kB / 470.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008678/0.3123, allocations: 396.8 kB / 470.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3123, allocations: 4 kB / 470.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001085/0.3134, allocations: 0.5005 MB / 471.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3134, allocations: 8 kB / 471.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.879e-05/0.3134, allocations: 20 kB / 471.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3134, allocations: 4 kB / 471.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.3138, allocations: 87.81 kB / 471.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.3138, allocations: 12.39 kB / 471.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.3142, allocations: 67.64 kB / 471.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.3142, allocations: 16 kB / 471.3 MB, free: 14.65 MB / 382.1 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.0002719/0.3145, allocations: 209.7 kB / 471.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.3146, allocations: 115.2 kB / 471.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.3159, allocations: 471.4 kB / 472 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.3159, allocations: 4 kB / 472.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3159, allocations: 0 / 472.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3159, allocations: 3.938 kB / 472.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000639/0.3165, allocations: 0.535 MB / 472.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-05/0.3165, allocations: 24 kB / 472.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.3168, allocations: 47.88 kB / 472.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.3168, allocations: 8.062 kB / 472.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.3168, allocations: 15.94 kB / 472.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3168, allocations: 0 / 472.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3168, allocations: 0 / 472.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009529/0.3178, allocations: 449 kB / 473.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/0.3181, allocations: 127.2 kB / 473.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.724e-05/0.3182, allocations: 4 kB / 473.3 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.3185, allocations: 27.95 kB / 473.3 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.379e-05/0.3185, allocations: 35.95 kB / 473.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.3186, allocations: 12 kB / 473.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007127/0.3193, allocations: 0.5959 MB / 473.9 MB, free: 11.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3193, allocations: 0 / 473.9 MB, free: 11.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006297/0.3199, allocations: 223.6 kB / 474.1 MB, free: 11.68 MB / 382.1 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.0006669/0.3206, allocations: 471.1 kB / 474.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009278/0.3215, allocations: 341.8 kB / 474.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3215, allocations: 0 / 474.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004549/0.322, allocations: 180.8 kB / 475.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007374/0.3227, allocations: 172.5 kB / 475.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.3252, allocations: 1.507 MB / 476.8 MB, free: 8.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005713/0.3258, allocations: 0.9563 MB / 477.7 MB, free: 7.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.3259, allocations: 51.44 kB / 477.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3259, allocations: 0 / 477.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of Templates: time 0.01825/0.3441, allocations: 12.43 MB / 490.2 MB, free: 11.52 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.937512572854757]