Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002152/0.002152, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 258.2 MB, free: 7.805 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2603, allocations: 53.36 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.009436/0.2697, allocations: 4.897 MB / 437.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03021/0.2999, allocations: 16.63 MB / 453.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007584/0.3007, allocations: 35.62 kB / 453.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.3029, allocations: 0.7242 MB / 454.6 MB, free: 324 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005064/0.3079, allocations: 1.602 MB / 456.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004011/0.3119, allocations: 1.285 MB / 457.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003145/0.3151, allocations: 1.828 MB / 459.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.3154, allocations: 105.7 kB / 459.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005563/0.3159, allocations: 366.4 kB / 459.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004874/0.3164, allocations: 341.8 kB / 460.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.351e-05/0.3165, allocations: 35.98 kB / 460.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00321/0.3197, allocations: 1.171 MB / 461.3 MB, free: 9.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.3199, allocations: 119.2 kB / 461.4 MB, free: 9.434 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003975/0.3203, allocations: 314 kB / 461.8 MB, free: 9.125 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002666/0.3229, allocations: 1.627 MB / 463.4 MB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3229, allocations: 3.938 kB / 463.4 MB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3229, allocations: 0 / 463.4 MB, free: 7.488 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.3229, allocations: 0 / 463.4 MB, free: 7.488 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.00233/0.3253, allocations: 1.341 MB / 464.7 MB, free: 6.113 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3253, allocations: 8.031 kB / 464.7 MB, free: 6.105 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.3255, allocations: 131.1 kB / 464.9 MB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.3266, allocations: 0.711 MB / 465.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.3267, allocations: 16.5 kB / 465.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/0.3267, allocations: 24 kB / 465.6 MB, free: 5.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000806/0.3275, allocations: 340.8 kB / 465.9 MB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3275, allocations: 0 / 465.9 MB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.3276, allocations: 8 kB / 466 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.3276, allocations: 15.94 kB / 466 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000955/0.3285, allocations: 345.9 kB / 466.3 MB, free: 4.484 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.3306, allocations: 1.061 MB / 467.4 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008798/0.3315, allocations: 250.5 kB / 467.6 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005307/0.332, allocations: 208.9 kB / 467.8 MB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007843/0.3399, allocations: 3.625 MB / 471.4 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005763/0.3404, allocations: 211.1 kB / 471.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.033e-06/0.3404, allocations: 4 kB / 471.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001488/0.3419, allocations: 499.3 kB / 472.1 MB, free: 14.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.342, allocations: 55.41 kB / 472.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.3431, allocations: 0.8821 MB / 473.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.3432, allocations: 29.7 kB / 473.1 MB, free: 13.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004367/0.3436, allocations: 468.7 kB / 473.6 MB, free: 13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.17e-05/0.3437, allocations: 67.5 kB / 473.6 MB, free: 12.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.3438, allocations: 89.38 kB / 473.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.344, allocations: 321.9 kB / 474 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/0.3444, allocations: 127.9 kB / 474.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/0.3449, allocations: 263.7 kB / 474.4 MB, free: 12.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009252/0.3459, allocations: 388.8 kB / 474.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3459, allocations: 8 kB / 474.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001181/0.347, allocations: 0.5003 MB / 475.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3471, allocations: 8 kB / 475.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/0.3471, allocations: 20 kB / 475.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.3471, allocations: 8.562 kB / 475.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.3475, allocations: 87.81 kB / 475.4 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.3475, allocations: 11.98 kB / 475.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.3479, allocations: 51.75 kB / 475.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/0.348, allocations: 23.94 kB / 475.5 MB, free: 10.91 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.0002938/0.3482, allocations: 211.3 kB / 475.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.3484, allocations: 115.3 kB / 475.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.3497, allocations: 467.5 kB / 476.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.3497, allocations: 0 / 476.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3497, allocations: 4 kB / 476.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3497, allocations: 0 / 476.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006162/0.3503, allocations: 490.9 kB / 476.8 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.002e-05/0.3504, allocations: 20 kB / 476.8 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.3506, allocations: 40.02 kB / 476.8 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.3506, allocations: 7.938 kB / 476.8 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.3507, allocations: 19.92 kB / 476.8 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.3507, allocations: 4 kB / 476.9 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3507, allocations: 0 / 476.9 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.3517, allocations: 439.2 kB / 477.3 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.352, allocations: 135.1 kB / 477.4 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.69e-05/0.3521, allocations: 0 / 477.4 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.3524, allocations: 27.97 kB / 477.4 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/0.3525, allocations: 27.95 kB / 477.5 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.3525, allocations: 23.92 kB / 477.5 MB, free: 8.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007713/0.3533, allocations: 0.584 MB / 478.1 MB, free: 8.246 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3533, allocations: 0 / 478.1 MB, free: 8.246 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006587/0.354, allocations: 227.6 kB / 478.3 MB, free: 8.023 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.0007081/0.3547, allocations: 483.1 kB / 478.8 MB, free: 7.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.3557, allocations: 334.4 kB / 479.1 MB, free: 7.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3557, allocations: 0 / 479.1 MB, free: 7.203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.3562, allocations: 169.5 kB / 479.3 MB, free: 7.031 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008406/0.357, allocations: 179.1 kB / 479.4 MB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.3596, allocations: 1.515 MB / 481 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.36, allocations: 370.3 kB / 481.3 MB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.3601, allocations: 55.44 kB / 481.4 MB, free: 4.844 MB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3601, allocations: 0 / 481.4 MB, free: 4.844 MB / 382.1 MB Notification: Performance of Templates: time 0.01943/0.3796, allocations: 12.9 MB / 494.3 MB, free: 7.984 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 8.007952041924]