Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.219/1.219, allocations: 205.1 MB / 223.8 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009577/0.0009577, allocations: 98.73 kB / 271.2 MB, free: 8.449 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008228/0.000823, allocations: 39.94 kB / 327.2 MB, free: 340 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2131, allocations: 46.62 MB / 373.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005578/0.2188, allocations: 5.4 MB / 379.2 MB, free: 41.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01565/0.2344, allocations: 18.65 MB / 397.9 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009072/0.2354, allocations: 11.94 kB / 397.9 MB, free: 25.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.2375, allocations: 0.7426 MB / 398.6 MB, free: 24.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004324/0.2419, allocations: 1.283 MB / 399.9 MB, free: 23.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003366/0.2452, allocations: 1.047 MB / 401 MB, free: 22.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002383/0.2476, allocations: 1.727 MB / 402.7 MB, free: 20.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.2479, allocations: 165.8 kB / 402.8 MB, free: 20.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004289/0.2483, allocations: 306.5 kB / 403.1 MB, free: 20.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/0.2487, allocations: 353.9 kB / 403.5 MB, free: 19.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.869e-05/0.2488, allocations: 20 kB / 403.5 MB, free: 19.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003042/0.2518, allocations: 1.101 MB / 404.6 MB, free: 18.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.252, allocations: 103.2 kB / 404.7 MB, free: 18.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003977/0.2524, allocations: 429.3 kB / 405.1 MB, free: 18.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.2547, allocations: 1.589 MB / 406.7 MB, free: 16.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2547, allocations: 0 / 406.7 MB, free: 16.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2548, allocations: 0 / 406.7 MB, free: 16.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.932e-05/0.2548, allocations: 0 / 406.7 MB, free: 16.49 MB / 298.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.002082/0.2569, allocations: 1.382 MB / 408.1 MB, free: 15.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.2569, allocations: 12.03 kB / 408.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.257, allocations: 114.6 kB / 408.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000803/0.2579, allocations: 0.7861 MB / 409 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2579, allocations: 16.56 kB / 409 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.2579, allocations: 35.78 kB / 409.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.2585, allocations: 332.7 kB / 409.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2586, allocations: 3.984 kB / 409.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.2586, allocations: 8 kB / 409.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2586, allocations: 8 kB / 409.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007421/0.2593, allocations: 350 kB / 409.7 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.2608, allocations: 1.234 MB / 411 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006842/0.2615, allocations: 266.6 kB / 411.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.2619, allocations: 236.9 kB / 411.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005404/0.2673, allocations: 7.782 MB / 419.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004372/0.2678, allocations: 213.1 kB / 419.5 MB, free: 2.488 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 2.034e-06/0.2678, allocations: 0 / 419.5 MB, free: 2.488 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.00114/0.2689, allocations: 494.8 kB / 419.9 MB, free: 2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.269, allocations: 55.41 kB / 420 MB, free: 1.934 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000654/0.2696, allocations: 0.8866 MB / 420.9 MB, free: 1.035 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.2697, allocations: 41.69 kB / 420.9 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.2699, allocations: 464.3 kB / 421.4 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.2699, allocations: 59.19 kB / 421.4 MB, free: 480 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/0.27, allocations: 85.55 kB / 421.5 MB, free: 388 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.782e-05/0.2701, allocations: 318 kB / 421.8 MB, free: 64 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.2704, allocations: 131.8 kB / 422 MB, free: 15.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/0.2709, allocations: 253.8 kB / 422.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008131/0.2717, allocations: 405.4 kB / 422.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2717, allocations: 4 kB / 422.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009865/0.2727, allocations: 0.4922 MB / 423.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2727, allocations: 11.94 kB / 423.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.45e-05/0.2728, allocations: 24 kB / 423.1 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.2728, allocations: 8 kB / 423.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.2731, allocations: 79.81 kB / 423.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.2732, allocations: 8.406 kB / 423.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.2735, allocations: 59.7 kB / 423.3 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.2735, allocations: 24 kB / 423.3 MB, free: 14.45 MB / 314.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.0002164/0.2738, allocations: 206.5 kB / 423.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.515e-05/0.2739, allocations: 110.6 kB / 423.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.2751, allocations: 479.5 kB / 424.1 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2751, allocations: 4 kB / 424.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2751, allocations: 0 / 424.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.2752, allocations: 0 / 424.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.2757, allocations: 0.5749 MB / 424.7 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.147e-05/0.2757, allocations: 16 kB / 424.7 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.276, allocations: 51.88 kB / 424.7 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.276, allocations: 4 kB / 424.7 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.276, allocations: 12 kB / 424.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.276, allocations: 4 kB / 424.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.276, allocations: 0 / 424.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.2776, allocations: 1.303 MB / 426.1 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.2779, allocations: 203.7 kB / 426.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.78e-05/0.278, allocations: 8 kB / 426.3 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.2783, allocations: 23.95 kB / 426.3 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.173e-05/0.2784, allocations: 27.97 kB / 426.3 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.2784, allocations: 19.98 kB / 426.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005948/0.279, allocations: 0.5922 MB / 426.9 MB, free: 10.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.279, allocations: 0 / 426.9 MB, free: 10.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006643/0.2797, allocations: 223.8 kB / 427.1 MB, free: 10.45 MB / 314.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.0006651/0.2804, allocations: 495.7 kB / 427.6 MB, free: 9.949 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008698/0.2813, allocations: 358.2 kB / 428 MB, free: 9.594 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2813, allocations: 0 / 428 MB, free: 9.594 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004357/0.2817, allocations: 185.5 kB / 428.2 MB, free: 9.406 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005418/0.2823, allocations: 136.7 kB / 428.3 MB, free: 9.273 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.2847, allocations: 1.885 MB / 430.2 MB, free: 7.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.2852, allocations: 0.9605 MB / 431.1 MB, free: 6.352 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003228/0.2855, allocations: 106 kB / 431.2 MB, free: 6.246 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.028e-05/0.2856, allocations: 47.44 kB / 431.3 MB, free: 6.199 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2856, allocations: 0 / 431.3 MB, free: 6.199 MB / 314.7 MB Notification: Performance of Templates: time 0.01896/0.3046, allocations: 12.48 MB / 443.8 MB, free: 9.746 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches