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.001959/0.001959, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002315/0.002315, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.421/1.421, allocations: 230.5 MB / 258.1 MB, free: 7.805 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.001954/0.001954, allocations: 59.91 kB / 379 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2631, allocations: 53.41 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006745/0.2698, allocations: 4.897 MB / 437.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03229/0.3021, allocations: 16.63 MB / 453.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.3032, allocations: 35.62 kB / 453.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00328/0.3064, allocations: 0.7243 MB / 454.7 MB, free: 168 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007192/0.3136, allocations: 1.598 MB / 456.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006276/0.3199, allocations: 1.289 MB / 457.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004753/0.3247, allocations: 1.817 MB / 459.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003817/0.325, allocations: 105.6 kB / 459.5 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008008/0.3258, allocations: 374.3 kB / 459.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006532/0.3265, allocations: 345.8 kB / 460.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.3266, allocations: 32 kB / 460.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00471/0.3313, allocations: 1.163 MB / 461.4 MB, free: 9.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.3315, allocations: 115.3 kB / 461.5 MB, free: 9.297 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006411/0.3322, allocations: 325.9 kB / 461.8 MB, free: 8.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004037/0.3362, allocations: 1.627 MB / 463.4 MB, free: 7.344 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3362, allocations: 8 kB / 463.4 MB, free: 7.336 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3362, allocations: 0 / 463.4 MB, free: 7.336 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.388e-05/0.3362, allocations: 0 / 463.4 MB, free: 7.336 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.003272/0.3395, allocations: 1.341 MB / 464.8 MB, free: 5.961 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.3396, allocations: 15.98 kB / 464.8 MB, free: 5.945 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002764/0.3399, allocations: 127.1 kB / 464.9 MB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.3416, allocations: 0.7071 MB / 465.6 MB, free: 5.066 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/0.3416, allocations: 16.5 kB / 465.6 MB, free: 5.051 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-05/0.3417, allocations: 20 kB / 465.7 MB, free: 5.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.3429, allocations: 340.8 kB / 466 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.343, allocations: 0 / 466 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-05/0.343, allocations: 15.98 kB / 466 MB, free: 4.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.343, allocations: 11.92 kB / 466 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.3445, allocations: 345.9 kB / 466.4 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002994/0.3475, allocations: 1.057 MB / 467.4 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.3487, allocations: 254.6 kB / 467.7 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/0.3495, allocations: 212.9 kB / 467.9 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.3606, allocations: 3.625 MB / 471.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007942/0.3614, allocations: 203.1 kB / 471.7 MB, free: 14.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.905e-06/0.3614, allocations: 0 / 471.7 MB, free: 14.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.002054/0.3635, allocations: 495.7 kB / 472.2 MB, free: 14.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.3635, allocations: 59.39 kB / 472.2 MB, free: 14.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.3651, allocations: 0.8899 MB / 473.1 MB, free: 13.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.3652, allocations: 29.7 kB / 473.2 MB, free: 13.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006012/0.3658, allocations: 464.7 kB / 473.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.006e-05/0.3659, allocations: 67.56 kB / 473.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.3661, allocations: 85.39 kB / 473.8 MB, free: 12.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.3663, allocations: 321.9 kB / 474.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005534/0.3668, allocations: 127.8 kB / 474.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006972/0.3675, allocations: 261.4 kB / 474.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.3687, allocations: 389.6 kB / 474.8 MB, free: 11.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3687, allocations: 0 / 474.8 MB, free: 11.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00164/0.3704, allocations: 0.5084 MB / 475.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3704, allocations: 15.88 kB / 475.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.277e-05/0.3704, allocations: 20 kB / 475.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.3705, allocations: 8 kB / 475.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005203/0.371, allocations: 83.88 kB / 475.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/0.371, allocations: 15.92 kB / 475.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006169/0.3716, allocations: 56.02 kB / 475.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.3717, allocations: 27.94 kB / 475.6 MB, free: 10.75 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.0004004/0.3721, allocations: 205.4 kB / 475.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.3723, allocations: 119.3 kB / 475.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/0.3742, allocations: 467.4 kB / 476.3 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3742, allocations: 4 kB / 476.3 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3742, allocations: 0 / 476.3 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3742, allocations: 4 kB / 476.4 MB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008712/0.3751, allocations: 487 kB / 476.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.109e-05/0.3751, allocations: 16 kB / 476.8 MB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.3755, allocations: 43.89 kB / 476.9 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3755, allocations: 4 kB / 476.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/0.3755, allocations: 12 kB / 476.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.3755, allocations: 0 / 476.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3755, allocations: 64 / 476.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.3771, allocations: 454.7 kB / 477.3 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004253/0.3775, allocations: 131.1 kB / 477.5 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.3776, allocations: 7.984 kB / 477.5 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004829/0.3781, allocations: 27.97 kB / 477.5 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.3782, allocations: 31.95 kB / 477.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.3783, allocations: 16 kB / 477.6 MB, free: 8.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001152/0.3794, allocations: 0.5918 MB / 478.1 MB, free: 8.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3794, allocations: 0 / 478.1 MB, free: 8.086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00101/0.3805, allocations: 223.6 kB / 478.4 MB, free: 7.867 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.001018/0.3815, allocations: 467.2 kB / 478.8 MB, free: 7.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.3829, allocations: 338.4 kB / 479.2 MB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3829, allocations: 0 / 479.2 MB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007183/0.3836, allocations: 181.7 kB / 479.3 MB, free: 6.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.3848, allocations: 184.2 kB / 479.5 MB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.3886, allocations: 1.515 MB / 481 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.3891, allocations: 366.3 kB / 481.4 MB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.3893, allocations: 55.44 kB / 481.4 MB, free: 4.688 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3893, allocations: 0 / 481.4 MB, free: 4.688 MB / 382.1 MB Notification: Performance of Templates: time 0.02757/0.4169, allocations: 12.89 MB / 494.3 MB, free: 7.832 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.986807007808238]