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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 102.5 kB / 19.61 MB, free: 2.602 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 189.5 kB / 22.75 MB, free: 5.582 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 251.4 MB, free: 13.59 MB / 206.1 MB [Timeout remaining time 88] 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.00148/0.00148, allocations: 51.91 kB / 369.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2481, allocations: 52.14 MB / 421.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.00669/0.2548, allocations: 5.561 MB / 426.9 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02189/0.2767, allocations: 19.48 MB / 446.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007822/0.2775, allocations: 23.81 kB / 446.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002479/0.28, allocations: 0.8352 MB / 447.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004909/0.2849, allocations: 1.616 MB / 448.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003895/0.2888, allocations: 1.316 MB / 450.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003175/0.2919, allocations: 1.796 MB / 451.9 MB, free: 420 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.2922, allocations: 113.8 kB / 452 MB, free: 288 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004966/0.2927, allocations: 358.3 kB / 452.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.2931, allocations: 365.8 kB / 452.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.357e-05/0.2932, allocations: 32 kB / 452.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00382/0.297, allocations: 1.432 MB / 454.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.2972, allocations: 119.2 kB / 454.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005113/0.2977, allocations: 429.4 kB / 454.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002928/0.3006, allocations: 1.619 MB / 456.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3006, allocations: 0 / 456.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3006, allocations: 0 / 456.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.3006, allocations: 0 / 456.3 MB, free: 11.94 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.002219/0.3028, allocations: 1.416 MB / 457.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3029, allocations: 15.89 kB / 457.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.3031, allocations: 131.1 kB / 457.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.3041, allocations: 0.7792 MB / 458.7 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.3041, allocations: 24.55 kB / 458.7 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.37e-05/0.3042, allocations: 31.95 kB / 458.7 MB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007794/0.305, allocations: 336.7 kB / 459.1 MB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.305, allocations: 0 / 459.1 MB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.305, allocations: 8 kB / 459.1 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.305, allocations: 11.94 kB / 459.1 MB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009042/0.3059, allocations: 346 kB / 459.4 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.3079, allocations: 1.226 MB / 460.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008175/0.3088, allocations: 258.6 kB / 460.9 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005091/0.3093, allocations: 213 kB / 461.1 MB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008686/0.318, allocations: 7.756 MB / 468.9 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006348/0.3186, allocations: 199.2 kB / 469.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.535e-06/0.3186, allocations: 0 / 469.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001501/0.3201, allocations: 496.6 kB / 469.5 MB, free: 13.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.3202, allocations: 63.33 kB / 469.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.3212, allocations: 0.8902 MB / 470.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.3212, allocations: 33.7 kB / 470.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004016/0.3216, allocations: 468.7 kB / 471 MB, free: 11.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.3217, allocations: 63.5 kB / 471.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.3218, allocations: 81.61 kB / 471.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.322, allocations: 322 kB / 471.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.3224, allocations: 123.9 kB / 471.6 MB, free: 11.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/0.3229, allocations: 253.9 kB / 471.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008455/0.3237, allocations: 392.8 kB / 472.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3237, allocations: 4 kB / 472.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001101/0.3248, allocations: 0.5029 MB / 472.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.3248, allocations: 11.94 kB / 472.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.183e-05/0.3249, allocations: 24 kB / 472.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.3249, allocations: 4 kB / 472.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.3253, allocations: 84.34 kB / 472.8 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.3253, allocations: 12 kB / 472.8 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.3257, allocations: 67.62 kB / 472.9 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.3257, allocations: 16 kB / 472.9 MB, free: 9.918 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.0002715/0.326, allocations: 213.7 kB / 473.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.3261, allocations: 115.2 kB / 473.2 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.3274, allocations: 471.5 kB / 473.7 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.3274, allocations: 4 kB / 473.7 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3274, allocations: 0 / 473.7 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3274, allocations: 3.938 kB / 473.7 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006725/0.328, allocations: 0.5749 MB / 474.3 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.678e-05/0.3281, allocations: 16 kB / 474.3 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.3283, allocations: 44.02 kB / 474.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3283, allocations: 4 kB / 474.3 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.3284, allocations: 15.98 kB / 474.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.3284, allocations: 3.938 kB / 474.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3284, allocations: 0 / 474.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.3294, allocations: 449.1 kB / 474.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.3297, allocations: 208.3 kB / 475 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.594e-05/0.3298, allocations: 0 / 475 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.3301, allocations: 31.97 kB / 475 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.51e-05/0.3302, allocations: 31.95 kB / 475.1 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/0.3302, allocations: 16 kB / 475.1 MB, free: 7.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007796/0.331, allocations: 0.592 MB / 475.7 MB, free: 7.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.331, allocations: 0 / 475.7 MB, free: 7.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007225/0.3317, allocations: 227.6 kB / 475.9 MB, free: 6.812 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.0008003/0.3325, allocations: 463.2 kB / 476.4 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009973/0.3335, allocations: 338.3 kB / 476.7 MB, free: 6.016 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.3335, allocations: 0 / 476.7 MB, free: 6.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004658/0.334, allocations: 192.9 kB / 476.9 MB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000783/0.3348, allocations: 168.5 kB / 477 MB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.3374, allocations: 1.517 MB / 478.6 MB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/0.338, allocations: 0.9563 MB / 479.5 MB, free: 3.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.3381, allocations: 55.44 kB / 479.6 MB, free: 3.055 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3381, allocations: 4 kB / 479.6 MB, free: 3.051 MB / 382.1 MB Notification: Performance of Templates: time 0.01996/0.3581, allocations: 12.43 MB / 492 MB, free: 6.656 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