Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001672/0.001672, allocations: 176.7 kB / 16.72 MB, free: 5.078 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.348/1.348, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007747/0.0007746, allocations: 86.36 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004602, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2145, allocations: 47.56 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.003683/0.2182, allocations: 4.706 MB / 379.8 MB, free: 41.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01295/0.2312, allocations: 16.75 MB / 396.5 MB, free: 27.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008062/0.232, allocations: 7.938 kB / 396.5 MB, free: 27.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.2339, allocations: 0.7043 MB / 397.2 MB, free: 26.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003975/0.2379, allocations: 1.212 MB / 398.5 MB, free: 25.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002927/0.2408, allocations: 0.9677 MB / 399.4 MB, free: 24.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002343/0.2432, allocations: 1.637 MB / 401.1 MB, free: 22.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.2435, allocations: 157.8 kB / 401.2 MB, free: 22.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.2437, allocations: 274.7 kB / 401.5 MB, free: 22.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.244, allocations: 334.1 kB / 401.8 MB, free: 21.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.192e-05/0.244, allocations: 20 kB / 401.8 MB, free: 21.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.2467, allocations: 1.05 MB / 402.9 MB, free: 20.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.008e-05/0.2468, allocations: 99.36 kB / 403 MB, free: 20.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003184/0.2472, allocations: 415.4 kB / 403.4 MB, free: 20.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009846/0.2482, allocations: 1.126 MB / 404.5 MB, free: 19.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2482, allocations: 0 / 404.5 MB, free: 19.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2482, allocations: 0 / 404.5 MB, free: 19.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.2482, allocations: 0 / 404.5 MB, free: 19.18 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.001514/0.2497, allocations: 1.258 MB / 405.8 MB, free: 17.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.2498, allocations: 12.03 kB / 405.8 MB, free: 17.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.887e-05/0.2499, allocations: 122.5 kB / 405.9 MB, free: 17.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007418/0.2506, allocations: 0.7861 MB / 406.7 MB, free: 16.9 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.2506, allocations: 12.56 kB / 406.7 MB, free: 16.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.2507, allocations: 27.98 kB / 406.7 MB, free: 16.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006366/0.2513, allocations: 356.7 kB / 407.1 MB, free: 16.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2514, allocations: 0 / 407.1 MB, free: 16.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.2514, allocations: 7.984 kB / 407.1 MB, free: 16.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.2514, allocations: 15.94 kB / 407.1 MB, free: 16.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007708/0.2522, allocations: 390 kB / 407.5 MB, free: 16.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.2537, allocations: 1.261 MB / 408.7 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007252/0.2544, allocations: 306.6 kB / 409 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/0.2548, allocations: 249 kB / 409.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005467/0.2603, allocations: 7.786 MB / 417.1 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004607/0.2608, allocations: 223.1 kB / 417.3 MB, free: 5.145 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 2.154e-06/0.2608, allocations: 0 / 417.3 MB, free: 5.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.00122/0.2621, allocations: 0.5406 MB / 417.8 MB, free: 4.598 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.2621, allocations: 67.33 kB / 417.9 MB, free: 4.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007619/0.2629, allocations: 0.8789 MB / 418.8 MB, free: 3.629 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.2629, allocations: 25.7 kB / 418.8 MB, free: 3.598 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.2632, allocations: 476.2 kB / 419.3 MB, free: 3.125 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.2632, allocations: 55.36 kB / 419.3 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/0.2632, allocations: 4 kB / 419.3 MB, free: 3.066 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.82e-05/0.2633, allocations: 326 kB / 419.6 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.2636, allocations: 143.8 kB / 419.8 MB, free: 2.602 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.264, allocations: 277.9 kB / 420 MB, free: 2.266 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006976/0.2647, allocations: 441.7 kB / 420.5 MB, free: 1.773 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2647, allocations: 4 kB / 420.5 MB, free: 1.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008889/0.2656, allocations: 0.5398 MB / 421 MB, free: 1.223 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.2656, allocations: 11.94 kB / 421 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.899e-05/0.2657, allocations: 23.98 kB / 421.1 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.2657, allocations: 8 kB / 421.1 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.2661, allocations: 100.1 kB / 421.2 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.2661, allocations: 15.88 kB / 421.2 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.2664, allocations: 63.64 kB / 421.2 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.2665, allocations: 24 kB / 421.3 MB, free: 0.9805 MB / 298.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 ($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.000207/0.2667, allocations: 213 kB / 421.5 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.2668, allocations: 106.7 kB / 421.6 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.2679, allocations: 0.5058 MB / 422.1 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2679, allocations: 4 kB / 422.1 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2679, allocations: 7.938 kB / 422.1 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2679, allocations: 4 kB / 422.1 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.2685, allocations: 0.5634 MB / 422.7 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/0.2686, allocations: 16 kB / 422.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.2688, allocations: 52.02 kB / 422.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.2688, allocations: 7.984 kB / 422.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.2689, allocations: 12 kB / 422.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2689, allocations: 4 kB / 422.8 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2689, allocations: 3.938 kB / 422.8 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009352/0.2698, allocations: 482.5 kB / 423.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.2701, allocations: 203.7 kB / 423.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.865e-05/0.2701, allocations: 7.938 kB / 423.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.2704, allocations: 35.97 kB / 423.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.2705, allocations: 31.95 kB / 423.5 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.2706, allocations: 15.98 kB / 423.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006676/0.2713, allocations: 0.5805 MB / 424.1 MB, free: 14.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2713, allocations: 4 kB / 424.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006587/0.2719, allocations: 227.8 kB / 424.3 MB, free: 13.8 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 (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.0006472/0.2726, allocations: 483.9 kB / 424.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009531/0.2735, allocations: 398.2 kB / 425.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.2736, allocations: 0 / 425.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.274, allocations: 205.8 kB / 425.4 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/0.2747, allocations: 139.4 kB / 425.5 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.2773, allocations: 1.71 MB / 427.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006277/0.278, allocations: 0.9605 MB / 428.2 MB, free: 9.848 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.2781, allocations: 47.44 kB / 428.2 MB, free: 9.805 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2781, allocations: 0 / 428.2 MB, free: 9.805 MB / 314.7 MB Notification: Performance of Templates: time 0.01952/0.2977, allocations: 12.25 MB / 440.5 MB, free: 13.56 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches