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.00112/0.00112, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00479/0.00479, allocations: 157.5 kB / 24.7 MB, free: 9.422 MB / 18.57 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 0.8329/0.8329, allocations: 177 MB / 204.9 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.343e-06/1.343e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.958e-05, allocations: 3.266 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.00375/0.003769, allocations: 4.898 MB / 330.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.01503, allocations: 16.63 MB / 347.3 MB, free: 9.777 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003507/0.01539, allocations: 39.62 kB / 347.3 MB, free: 9.738 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.01666, allocations: 0.7255 MB / 348.1 MB, free: 9.008 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.01896, allocations: 1.648 MB / 349.7 MB, free: 7.348 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.02136, allocations: 1.308 MB / 351 MB, free: 6.035 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002227/0.02359, allocations: 1.883 MB / 352.9 MB, free: 4.145 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.02381, allocations: 105.4 kB / 353 MB, free: 4.027 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005225/0.02433, allocations: 0.4948 MB / 353.5 MB, free: 3.531 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.02468, allocations: 259.1 kB / 353.8 MB, free: 3.277 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.742e-05/0.02474, allocations: 36 kB / 353.8 MB, free: 3.242 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.02654, allocations: 1.17 MB / 355 MB, free: 2.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.69e-05/0.02661, allocations: 119.3 kB / 355.1 MB, free: 1.953 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.02677, allocations: 243.2 kB / 355.3 MB, free: 1.715 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.02812, allocations: 1.686 MB / 357 MB, free: 24 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.02813, allocations: 0 / 357 MB, free: 24 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.02813, allocations: 0 / 357 MB, free: 24 kB / 314.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.02814, allocations: 0 / 357 MB, free: 24 kB / 314.7 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.001524/0.02966, allocations: 1.329 MB / 358.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.02969, allocations: 15.98 kB / 358.3 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.532e-05/0.02979, allocations: 127.1 kB / 358.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006374/0.03043, allocations: 0.7032 MB / 359.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.03044, allocations: 24.5 kB / 359.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.03048, allocations: 24 kB / 359.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004391/0.03092, allocations: 336.8 kB / 359.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.03093, allocations: 0 / 359.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.03096, allocations: 12 kB / 359.6 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.03097, allocations: 4 kB / 359.6 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.03144, allocations: 349.9 kB / 359.9 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.03254, allocations: 1.073 MB / 361 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/0.033, allocations: 250.6 kB / 361.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.03327, allocations: 207.9 kB / 361.4 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004022/0.03729, allocations: 3.633 MB / 365.1 MB, free: 7.703 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003106/0.0376, allocations: 211 kB / 365.3 MB, free: 7.484 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.03761, allocations: 4 kB / 365.3 MB, free: 7.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007436/0.03835, allocations: 495.2 kB / 365.7 MB, free: 6.996 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.03839, allocations: 59.39 kB / 365.8 MB, free: 6.926 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006209/0.03901, allocations: 0.8899 MB / 366.7 MB, free: 6.023 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.03903, allocations: 33.7 kB / 366.7 MB, free: 5.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.03928, allocations: 472.7 kB / 367.2 MB, free: 5.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.03932, allocations: 55.58 kB / 367.2 MB, free: 5.465 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.728e-05/0.0394, allocations: 85.59 kB / 367.3 MB, free: 5.375 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.03947, allocations: 325.9 kB / 367.6 MB, free: 5.051 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.03967, allocations: 119.9 kB / 367.8 MB, free: 4.934 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.03992, allocations: 257.9 kB / 368 MB, free: 4.617 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/0.04035, allocations: 389.6 kB / 368.4 MB, free: 4.172 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.04035, allocations: 0 / 368.4 MB, free: 4.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00059/0.04094, allocations: 0.5072 MB / 368.9 MB, free: 3.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.04097, allocations: 11.98 kB / 368.9 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/0.04099, allocations: 20 kB / 368.9 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.04101, allocations: 8 kB / 368.9 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.04118, allocations: 88.44 kB / 369 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.04119, allocations: 7.938 kB / 369 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.04137, allocations: 59.67 kB / 369.1 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.0414, allocations: 24 kB / 369.1 MB, free: 3.445 MB / 330.7 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.0001933/0.0416, allocations: 209.7 kB / 369.3 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-05/0.04167, allocations: 111.3 kB / 369.4 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006734/0.04234, allocations: 471.4 kB / 369.9 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.04234, allocations: 7.984 kB / 369.9 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.04235, allocations: 0 / 369.9 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.04235, allocations: 0 / 369.9 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.04271, allocations: 483 kB / 370.4 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.04273, allocations: 16 kB / 370.4 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.04284, allocations: 43.94 kB / 370.4 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.04284, allocations: 4 kB / 370.4 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.04286, allocations: 16.06 kB / 370.5 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.04286, allocations: 0 / 370.5 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.04286, allocations: 0 / 370.5 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.04335, allocations: 439.2 kB / 370.9 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.04349, allocations: 135.1 kB / 371 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.04355, allocations: 11.94 kB / 371 MB, free: 1.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.04369, allocations: 31.89 kB / 371.1 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/0.04376, allocations: 35.86 kB / 371.1 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.04378, allocations: 19.94 kB / 371.1 MB, free: 1.363 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000691/0.04447, allocations: 0.584 MB / 371.7 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04447, allocations: 0 / 371.7 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003709/0.04484, allocations: 223.7 kB / 371.9 MB, free: 0.5547 MB / 330.7 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.0004725/0.04531, allocations: 499.1 kB / 372.4 MB, free: 60 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000511/0.04582, allocations: 338.4 kB / 372.7 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.04582, allocations: 3.859 kB / 372.7 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.04606, allocations: 177.5 kB / 372.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.04651, allocations: 160.6 kB / 373.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.04791, allocations: 1.462 MB / 374.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.04811, allocations: 370.3 kB / 374.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.519e-05/0.04818, allocations: 52.5 kB / 374.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.04818, allocations: 0 / 374.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of Templates: time 0.01077/0.05895, allocations: 12.91 MB / 387.8 MB, free: 0.5547 MB / 346.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins/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: 5.336192421615124]