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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=198,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=198,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007885/0.0007885, allocations: 99.02 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009224/0.0009224, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001985/0.0001986, allocations: 4 kB / 307.1 MB, free: 0.9727 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08343/0.08365, allocations: 51.52 MB / 358.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.004604/0.08828, allocations: 4.862 MB / 363.5 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1738/0.2621, allocations: 17.64 MB / 381.1 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006766/0.2628, allocations: 10.62 kB / 381.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.2651, allocations: 0.7207 MB / 381.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00483/0.2699, allocations: 1.232 MB / 383.1 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004957/0.2749, allocations: 1.013 MB / 384.1 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003372/0.2783, allocations: 1.7 MB / 385.8 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003044/0.2786, allocations: 148.8 kB / 385.9 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004682/0.2791, allocations: 298.1 kB / 386.2 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.2795, allocations: 336.5 kB / 386.6 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.314e-05/0.2795, allocations: 18.27 kB / 386.6 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004871/0.2844, allocations: 1.306 MB / 387.9 MB, free: 7.023 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.2846, allocations: 97.91 kB / 388 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.2848, allocations: 200.8 kB / 388.2 MB, free: 6.918 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.2862, allocations: 1.121 MB / 389.3 MB, free: 6.602 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2863, allocations: 1.656 kB / 389.3 MB, free: 6.602 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2863, allocations: 0 / 389.3 MB, free: 6.602 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.2863, allocations: 0 / 389.3 MB, free: 6.602 MB / 302.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.001914/0.2882, allocations: 1.269 MB / 390.6 MB, free: 5.746 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2882, allocations: 13.47 kB / 390.6 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.2884, allocations: 119 kB / 390.7 MB, free: 5.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000866/0.2893, allocations: 0.7394 MB / 391.4 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.2893, allocations: 14.62 kB / 391.5 MB, free: 5.211 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.2894, allocations: 22.75 kB / 391.5 MB, free: 5.203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/0.2901, allocations: 358.4 kB / 391.8 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2901, allocations: 7.875 kB / 391.8 MB, free: 5.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.2901, allocations: 8.547 kB / 391.8 MB, free: 5.066 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.2901, allocations: 5.531 kB / 391.9 MB, free: 5.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008559/0.291, allocations: 393.3 kB / 392.2 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.2926, allocations: 1.248 MB / 393.5 MB, free: 4.211 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007604/0.2934, allocations: 307.5 kB / 393.8 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004655/0.2939, allocations: 253.8 kB / 394 MB, free: 4.023 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006481/0.3003, allocations: 7.926 MB / 402 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00051/0.3009, allocations: 228.2 kB / 402.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.893e-06/0.3009, allocations: 0 / 402.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001282/0.3022, allocations: 0.5387 MB / 402.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.3022, allocations: 64.56 kB / 402.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009587/0.3032, allocations: 0.8714 MB / 403.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.3032, allocations: 29.64 kB / 403.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.3036, allocations: 467.9 kB / 404.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/0.3037, allocations: 58 kB / 404.2 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/0.3037, allocations: 4 kB / 404.2 MB, free: 11.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.3038, allocations: 323 kB / 404.5 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/0.3041, allocations: 140.7 kB / 404.7 MB, free: 10.99 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.3046, allocations: 283.1 kB / 404.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.305, allocations: 176.5 kB / 405.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.305, allocations: 0 / 405.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000971/0.306, allocations: 0.5357 MB / 405.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.306, allocations: 6.375 kB / 405.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/0.306, allocations: 23.41 kB / 405.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.306, allocations: 6.438 kB / 405.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.3064, allocations: 102 kB / 405.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.3064, allocations: 9.891 kB / 405.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.3068, allocations: 60.22 kB / 405.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.3069, allocations: 21.97 kB / 405.9 MB, free: 10.35 MB / 318.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 ($PRE.VDS.counter,VDS.counter,$PRE.VGS.counter,VGS.counter,$whenCondition2,$whenCondition1,$PRE.VDS.T0,VDS.T0,$PRE.VDS.counter2,VDS.counter2,$PRE.VGS.T0,VGS.T0,$PRE.VGS.counter2,VGS.counter2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002766/0.3071, allocations: 219.3 kB / 406.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.992e-05/0.3072, allocations: 107.4 kB / 406.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.3085, allocations: 0.5034 MB / 406.7 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.3085, allocations: 4.25 kB / 406.7 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.3085, allocations: 3.938 kB / 406.7 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3085, allocations: 0 / 406.7 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.3091, allocations: 0.564 MB / 407.3 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.628e-05/0.3092, allocations: 26.12 kB / 407.3 MB, free: 9.371 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.3094, allocations: 57.91 kB / 407.3 MB, free: 9.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3094, allocations: 3.953 kB / 407.3 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.3095, allocations: 16.38 kB / 407.4 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3095, allocations: 7 kB / 407.4 MB, free: 9.336 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3095, allocations: 1 kB / 407.4 MB, free: 9.336 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009182/0.3104, allocations: 481.5 kB / 407.8 MB, free: 9.082 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.3107, allocations: 201.6 kB / 408 MB, free: 8.898 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.3108, allocations: 8 kB / 408 MB, free: 8.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.3111, allocations: 47.89 kB / 408.1 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.24e-05/0.3112, allocations: 31.95 kB / 408.1 MB, free: 8.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.3113, allocations: 8 kB / 408.1 MB, free: 8.805 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006699/0.3119, allocations: 0.5803 MB / 408.7 MB, free: 8.219 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3119, allocations: 0 / 408.7 MB, free: 8.219 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006735/0.3126, allocations: 231.8 kB / 408.9 MB, free: 7.992 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006905/0.3133, allocations: 462.8 kB / 409.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009026/0.3142, allocations: 386.3 kB / 409.8 MB, free: 7.148 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3143, allocations: 4 kB / 409.8 MB, free: 7.145 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004435/0.3147, allocations: 197.8 kB / 410 MB, free: 6.945 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007586/0.3155, allocations: 171.4 kB / 410.1 MB, free: 6.781 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.3179, allocations: 1.655 MB / 411.8 MB, free: 5.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.3183, allocations: 0.9643 MB / 412.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003692/0.3187, allocations: 106 kB / 412.8 MB, free: 3.992 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.3188, allocations: 47.44 kB / 412.9 MB, free: 3.945 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3188, allocations: 0 / 412.9 MB, free: 3.945 MB / 318.1 MB Notification: Performance of Templates: time 0.01992/0.3388, allocations: 11.87 MB / 424.8 MB, free: 8.145 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches