Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001759/0.001759, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002035/0.002035, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 55.91 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2324, allocations: 53.42 MB / 432.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006559/0.2389, allocations: 5.582 MB / 438 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02265/0.2616, allocations: 19.53 MB / 457.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007689/0.2624, allocations: 35.62 kB / 457.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.2647, allocations: 0.8342 MB / 458.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004902/0.2696, allocations: 1.623 MB / 460 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004043/0.2736, allocations: 1.324 MB / 461.4 MB, free: 9.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00321/0.2768, allocations: 1.828 MB / 463.2 MB, free: 7.855 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.2771, allocations: 105.7 kB / 463.3 MB, free: 7.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005169/0.2776, allocations: 366.4 kB / 463.7 MB, free: 7.375 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004894/0.2781, allocations: 365.8 kB / 464 MB, free: 7.016 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.467e-05/0.2781, allocations: 32 kB / 464 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003703/0.2818, allocations: 1.455 MB / 465.5 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.282, allocations: 115.2 kB / 465.6 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000522/0.2825, allocations: 429.3 kB / 466 MB, free: 4.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002932/0.2855, allocations: 1.611 MB / 467.6 MB, free: 3.375 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2855, allocations: 0 / 467.6 MB, free: 3.375 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2855, allocations: 0 / 467.6 MB, free: 3.375 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.2855, allocations: 0 / 467.6 MB, free: 3.375 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.002266/0.2878, allocations: 1.349 MB / 469 MB, free: 1.992 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2878, allocations: 8.031 kB / 469 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.288, allocations: 131.1 kB / 469.1 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.2891, allocations: 0.715 MB / 469.8 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.2891, allocations: 12.5 kB / 469.9 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.529e-05/0.2892, allocations: 24 kB / 469.9 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007674/0.2899, allocations: 344.8 kB / 470.2 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2899, allocations: 0 / 470.2 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.29, allocations: 4 kB / 470.2 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.29, allocations: 19.92 kB / 470.2 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009026/0.2909, allocations: 341.9 kB / 470.6 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.293, allocations: 1.178 MB / 471.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008139/0.2938, allocations: 254.6 kB / 472 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004987/0.2943, allocations: 211.8 kB / 472.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00714/0.3014, allocations: 3.657 MB / 475.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005404/0.302, allocations: 205.9 kB / 476.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.795e-06/0.302, allocations: 4 kB / 476.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.00136/0.3033, allocations: 492.5 kB / 476.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.3034, allocations: 63.38 kB / 476.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.3045, allocations: 0.8863 MB / 477.5 MB, free: 9.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.3045, allocations: 29.7 kB / 477.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004005/0.3049, allocations: 464.8 kB / 478 MB, free: 8.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.494e-05/0.305, allocations: 63.52 kB / 478 MB, free: 8.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.3051, allocations: 89.39 kB / 478.1 MB, free: 8.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3052, allocations: 322 kB / 478.4 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.3056, allocations: 119.8 kB / 478.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/0.3061, allocations: 261.9 kB / 478.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008523/0.3069, allocations: 397.1 kB / 479.2 MB, free: 7.359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3069, allocations: 0 / 479.2 MB, free: 7.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001136/0.3081, allocations: 0.5047 MB / 479.7 MB, free: 6.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.3081, allocations: 10.34 kB / 479.7 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-05/0.3081, allocations: 23.94 kB / 479.7 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.3082, allocations: 8 kB / 479.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/0.3085, allocations: 87.81 kB / 479.8 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.3085, allocations: 11.92 kB / 479.8 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/0.3089, allocations: 63.78 kB / 479.9 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.309, allocations: 20 kB / 479.9 MB, free: 6.629 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.0002944/0.3093, allocations: 208.8 kB / 480.1 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.3094, allocations: 115.2 kB / 480.2 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.3106, allocations: 466.2 kB / 480.7 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.3106, allocations: 4 kB / 480.7 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3106, allocations: 0 / 480.7 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3106, allocations: 7.938 kB / 480.7 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006734/0.3113, allocations: 0.5389 MB / 481.2 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/0.3113, allocations: 20 kB / 481.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.3116, allocations: 43.94 kB / 481.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3116, allocations: 0 / 481.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.3116, allocations: 16 kB / 481.3 MB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.3117, allocations: 64 / 481.3 MB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3117, allocations: 11.94 kB / 481.3 MB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009563/0.3126, allocations: 450.2 kB / 481.8 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.3129, allocations: 127.1 kB / 481.9 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.645e-05/0.313, allocations: 4 kB / 481.9 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.3133, allocations: 27.95 kB / 481.9 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3134, allocations: 31.95 kB / 482 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.3134, allocations: 16 kB / 482 MB, free: 4.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007362/0.3142, allocations: 0.5959 MB / 482.6 MB, free: 3.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3142, allocations: 0 / 482.6 MB, free: 3.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006721/0.3148, allocations: 219.7 kB / 482.8 MB, free: 3.664 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.0007622/0.3156, allocations: 479 kB / 483.3 MB, free: 3.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.3166, allocations: 341.6 kB / 483.6 MB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3166, allocations: 0 / 483.6 MB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005113/0.3171, allocations: 182.4 kB / 483.8 MB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007755/0.3179, allocations: 164.4 kB / 483.9 MB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.3209, allocations: 1.515 MB / 485.4 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/0.3215, allocations: 0.9641 MB / 486.4 MB, free: 15.94 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.3217, allocations: 51.38 kB / 486.5 MB, free: 15.89 MB / 398.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3217, allocations: 0 / 486.5 MB, free: 15.89 MB / 398.1 MB Notification: Performance of Templates: time 0.02131/0.343, allocations: 12.47 MB / 498.9 MB, free: 3.461 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.826119763078168]