Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001741/0.001741, allocations: 119.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001733/0.001733, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.373/1.373, allocations: 230.5 MB / 258.1 MB, free: 8.129 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2381, allocations: 53.31 MB / 432 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006508/0.2446, allocations: 5.589 MB / 437.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02121/0.2658, allocations: 19.53 MB / 457.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007633/0.2666, allocations: 27.75 kB / 457.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002214/0.2688, allocations: 0.8316 MB / 458 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004596/0.2734, allocations: 1.612 MB / 459.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003805/0.2772, allocations: 1.327 MB / 461 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002972/0.2802, allocations: 1.819 MB / 462.8 MB, free: 8.492 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002398/0.2804, allocations: 105.2 kB / 462.9 MB, free: 8.371 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005127/0.281, allocations: 358.4 kB / 463.2 MB, free: 8.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004628/0.2814, allocations: 365.8 kB / 463.6 MB, free: 7.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.2815, allocations: 32 kB / 463.6 MB, free: 7.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003457/0.2849, allocations: 1.444 MB / 465.1 MB, free: 6.184 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.2851, allocations: 111.3 kB / 465.2 MB, free: 6.074 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004606/0.2855, allocations: 437.2 kB / 465.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002675/0.2882, allocations: 1.607 MB / 467.2 MB, free: 4.031 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2882, allocations: 8 kB / 467.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.2882, allocations: 0 / 467.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.2882, allocations: 0 / 467.2 MB, free: 4.023 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.00236/0.2906, allocations: 1.416 MB / 468.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2906, allocations: 12.03 kB / 468.6 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.2908, allocations: 135.1 kB / 468.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.2919, allocations: 0.7831 MB / 469.6 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.2919, allocations: 16.55 kB / 469.6 MB, free: 1.559 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-05/0.2919, allocations: 24 kB / 469.6 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007802/0.2927, allocations: 336.7 kB / 469.9 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2927, allocations: 0 / 469.9 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.2928, allocations: 15.92 kB / 469.9 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.2928, allocations: 15.94 kB / 470 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009018/0.2937, allocations: 334 kB / 470.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.2957, allocations: 1.246 MB / 471.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008487/0.2966, allocations: 250.6 kB / 471.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005059/0.2971, allocations: 205 kB / 472 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009366/0.3065, allocations: 7.926 MB / 479.9 MB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006041/0.3071, allocations: 199.2 kB / 480.1 MB, free: 5.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.254e-06/0.3071, allocations: 4 kB / 480.1 MB, free: 5.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001458/0.3085, allocations: 495.8 kB / 480.6 MB, free: 5.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.3086, allocations: 63.33 kB / 480.6 MB, free: 5.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.3097, allocations: 0.8863 MB / 481.5 MB, free: 4.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.3097, allocations: 29.7 kB / 481.6 MB, free: 4.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004005/0.3101, allocations: 468.8 kB / 482 MB, free: 3.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.026e-05/0.3102, allocations: 59.52 kB / 482.1 MB, free: 3.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.3103, allocations: 89.39 kB / 482.2 MB, free: 3.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3105, allocations: 326 kB / 482.5 MB, free: 3.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/0.3109, allocations: 123.8 kB / 482.6 MB, free: 3.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005696/0.3114, allocations: 260.3 kB / 482.9 MB, free: 2.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009403/0.3124, allocations: 397.6 kB / 483.2 MB, free: 2.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3124, allocations: 0 / 483.2 MB, free: 2.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0011/0.3135, allocations: 0.5067 MB / 483.7 MB, free: 2.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3135, allocations: 8 kB / 483.8 MB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.025e-05/0.3135, allocations: 20.59 kB / 483.8 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.3135, allocations: 12 kB / 483.8 MB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.314, allocations: 83.88 kB / 483.9 MB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.314, allocations: 11.92 kB / 483.9 MB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.3144, allocations: 59.69 kB / 483.9 MB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/0.3144, allocations: 20 kB / 484 MB, free: 1.805 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.0002716/0.3147, allocations: 209.7 kB / 484.2 MB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.3148, allocations: 115.2 kB / 484.3 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.316, allocations: 471.5 kB / 484.7 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.3161, allocations: 4 kB / 484.7 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3161, allocations: 0 / 484.7 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3161, allocations: 3.938 kB / 484.7 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006424/0.3167, allocations: 0.5711 MB / 485.3 MB, free: 368 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.958e-05/0.3167, allocations: 20 kB / 485.3 MB, free: 348 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.317, allocations: 39.95 kB / 485.4 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.317, allocations: 3.984 kB / 485.4 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.141e-05/0.317, allocations: 12 kB / 485.4 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.317, allocations: 0 / 485.4 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.317, allocations: 7.938 kB / 485.4 MB, free: 284 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.3181, allocations: 447.2 kB / 485.8 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003019/0.3184, allocations: 212.2 kB / 486 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.3185, allocations: 4 kB / 486 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.3188, allocations: 27.95 kB / 486.1 MB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.922e-05/0.3189, allocations: 27.97 kB / 486.1 MB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.3189, allocations: 16 kB / 486.1 MB, free: 15.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006998/0.3196, allocations: 0.592 MB / 486.7 MB, free: 14.92 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3196, allocations: 0 / 486.7 MB, free: 14.92 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000641/0.3203, allocations: 219.7 kB / 486.9 MB, free: 14.7 MB / 398.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.0006683/0.321, allocations: 487 kB / 487.4 MB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009489/0.3219, allocations: 344.8 kB / 487.7 MB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3219, allocations: 0 / 487.7 MB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004605/0.3224, allocations: 182.6 kB / 487.9 MB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008151/0.3232, allocations: 168.6 kB / 488.1 MB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.3256, allocations: 1.517 MB / 489.6 MB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.3262, allocations: 0.9602 MB / 490.6 MB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.3263, allocations: 51.44 kB / 490.6 MB, free: 10.92 MB / 398.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3263, allocations: 0 / 490.6 MB, free: 10.92 MB / 398.1 MB Notification: Performance of Templates: time 0.01842/0.3447, allocations: 12.48 MB / 0.4913 GB, free: 14.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.501848278101534]