Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 107.8 kB / 16.62 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 189.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 241.2 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 47.39 kB / 300.1 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08281/0.08385, allocations: 49.44 MB / 349.6 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005601/0.08948, allocations: 5.539 MB / 355.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1641/0.2536, allocations: 19.21 MB / 374.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005112/0.2541, allocations: 9 kB / 374.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002089/0.2563, allocations: 0.7613 MB / 375.1 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004018/0.2603, allocations: 1.367 MB / 376.5 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003634/0.264, allocations: 1.135 MB / 377.6 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00242/0.2664, allocations: 1.811 MB / 379.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.2667, allocations: 173.3 kB / 379.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.2671, allocations: 351 kB / 379.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.2674, allocations: 372.3 kB / 380.3 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.767e-05/0.2675, allocations: 32.66 kB / 380.3 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003074/0.2706, allocations: 1.447 MB / 381.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.888e-05/0.2707, allocations: 116.7 kB / 381.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.271, allocations: 431.5 kB / 382.3 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002118/0.2731, allocations: 1.582 MB / 383.9 MB, free: 7.656 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2732, allocations: 4 kB / 383.9 MB, free: 7.652 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2732, allocations: 0 / 383.9 MB, free: 7.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.2732, allocations: 1.031 kB / 383.9 MB, free: 7.652 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.001912/0.2751, allocations: 1.378 MB / 385.3 MB, free: 6.785 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.2752, allocations: 13.58 kB / 385.3 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.2753, allocations: 118 kB / 385.4 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008503/0.2762, allocations: 0.7829 MB / 386.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.2762, allocations: 21.33 kB / 386.2 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/0.2763, allocations: 32.92 kB / 386.2 MB, free: 6.266 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000726/0.277, allocations: 333.1 kB / 386.5 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.277, allocations: 3.938 kB / 386.5 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.2771, allocations: 14.34 kB / 386.6 MB, free: 6.133 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.2771, allocations: 8.422 kB / 386.6 MB, free: 6.133 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008535/0.2779, allocations: 341 kB / 386.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.2796, allocations: 1.242 MB / 388.1 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007416/0.2804, allocations: 264.6 kB / 388.4 MB, free: 5.203 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/0.2808, allocations: 229.6 kB / 388.6 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005963/0.2868, allocations: 7.765 MB / 396.4 MB, free: 14.53 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005155/0.2874, allocations: 211 kB / 396.6 MB, free: 14.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.235e-06/0.2874, allocations: 0 / 396.6 MB, free: 14.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001309/0.2887, allocations: 490.6 kB / 397.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.2887, allocations: 58.66 kB / 397.1 MB, free: 14.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009473/0.2897, allocations: 0.8811 MB / 398 MB, free: 13.6 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.2897, allocations: 31.08 kB / 398 MB, free: 13.56 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.2901, allocations: 468.5 kB / 398.5 MB, free: 13.15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.2901, allocations: 60.03 kB / 398.6 MB, free: 13.1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.2903, allocations: 81.75 kB / 398.6 MB, free: 13.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2904, allocations: 322.6 kB / 399 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.2907, allocations: 118 kB / 399.1 MB, free: 12.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/0.2912, allocations: 266.8 kB / 399.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007542/0.2919, allocations: 391.7 kB / 399.7 MB, free: 12.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.292, allocations: 2.531 kB / 399.7 MB, free: 12.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009773/0.2929, allocations: 0.4975 MB / 400.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.293, allocations: 11 kB / 400.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/0.293, allocations: 18 kB / 400.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.293, allocations: 10.83 kB / 400.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.2934, allocations: 88.34 kB / 400.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.2934, allocations: 7.438 kB / 400.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004051/0.2938, allocations: 56.28 kB / 400.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.2938, allocations: 19.03 kB / 400.4 MB, free: 11.82 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 (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.0002591/0.2941, allocations: 216.6 kB / 400.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.2942, allocations: 108.8 kB / 400.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.2954, allocations: 465.3 kB / 401.2 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.2955, allocations: 2.312 kB / 401.2 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2955, allocations: 1.078 kB / 401.2 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.2955, allocations: 7.984 kB / 401.2 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005739/0.2961, allocations: 0.5728 MB / 401.8 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/0.2961, allocations: 19.34 kB / 401.8 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.2963, allocations: 39.86 kB / 401.8 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2964, allocations: 3.938 kB / 401.8 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.2964, allocations: 12.47 kB / 401.9 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2964, allocations: 5.781 kB / 401.9 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.2964, allocations: 11.98 kB / 401.9 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008897/0.2973, allocations: 443.9 kB / 402.3 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.2975, allocations: 194.1 kB / 402.5 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.2977, allocations: 9.984 kB / 402.5 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.298, allocations: 26.81 kB / 402.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/0.2981, allocations: 29.31 kB / 402.6 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.2981, allocations: 22.23 kB / 402.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006092/0.2987, allocations: 0.5926 MB / 403.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2988, allocations: 0 / 403.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006627/0.2994, allocations: 217.6 kB / 403.4 MB, free: 9.832 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 (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.0007338/0.3002, allocations: 496.4 kB / 403.9 MB, free: 9.426 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009148/0.3011, allocations: 345.9 kB / 404.2 MB, free: 9.082 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3011, allocations: 0 / 404.2 MB, free: 9.082 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.3016, allocations: 190.3 kB / 404.4 MB, free: 8.891 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008401/0.3024, allocations: 164.9 kB / 404.6 MB, free: 8.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.305, allocations: 1.715 MB / 406.3 MB, free: 6.988 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004986/0.3056, allocations: 0.9603 MB / 407.2 MB, free: 6 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003901/0.306, allocations: 94.02 kB / 407.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.3061, allocations: 59.44 kB / 407.4 MB, free: 5.848 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3061, allocations: 0 / 407.4 MB, free: 5.848 MB / 318.1 MB Notification: Performance of Templates: time 0.02082/0.3269, allocations: 12.62 MB / 420 MB, free: 9.344 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches