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.001478/0.001478, allocations: 101 kB / 16.5 MB, free: 6.688 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.001699/0.0017, allocations: 191.4 kB / 17.42 MB, free: 6.09 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.251/1.251, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009579/0.0009579, allocations: 51.11 kB / 299.9 MB, free: 6.254 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08357/0.08454, allocations: 49.44 MB / 349.4 MB, free: 4.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005821/0.0904, allocations: 5.542 MB / 354.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1566/0.247, allocations: 19.59 MB / 374.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004527/0.2475, allocations: 9.188 kB / 374.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.2494, allocations: 0.7562 MB / 375.3 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003526/0.2529, allocations: 1.312 MB / 376.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.2557, allocations: 1.084 MB / 377.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00226/0.258, allocations: 1.753 MB / 379.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.2582, allocations: 165 kB / 379.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/0.2586, allocations: 338 kB / 379.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.2589, allocations: 355.8 kB / 380.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.566e-05/0.259, allocations: 21.16 kB / 380.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002858/0.2618, allocations: 1.432 MB / 381.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.542e-05/0.2619, allocations: 112.4 kB / 381.8 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003139/0.2623, allocations: 416 kB / 382.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.2643, allocations: 1.567 MB / 383.8 MB, free: 7.727 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2643, allocations: 1.188 kB / 383.8 MB, free: 7.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2643, allocations: 0 / 383.8 MB, free: 7.727 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.2643, allocations: 0 / 383.8 MB, free: 7.727 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.00188/0.2662, allocations: 1.383 MB / 385.2 MB, free: 6.855 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.2663, allocations: 9.312 kB / 385.2 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.2664, allocations: 115.8 kB / 385.3 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008508/0.2672, allocations: 0.7836 MB / 386.1 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.2673, allocations: 17.61 kB / 386.1 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/0.2673, allocations: 27.38 kB / 386.2 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/0.2681, allocations: 344.1 kB / 386.5 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.2681, allocations: 0 / 386.5 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.2682, allocations: 9.969 kB / 386.5 MB, free: 6.273 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.2682, allocations: 12.83 kB / 386.5 MB, free: 6.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009679/0.2691, allocations: 339.5 kB / 386.8 MB, free: 6.184 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.271, allocations: 1.245 MB / 388.1 MB, free: 5.434 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008045/0.2718, allocations: 265.3 kB / 388.3 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004974/0.2723, allocations: 230.6 kB / 388.6 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006152/0.2784, allocations: 7.757 MB / 396.3 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005172/0.279, allocations: 208.7 kB / 396.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.993e-06/0.279, allocations: 4 kB / 396.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001347/0.2803, allocations: 494.6 kB / 397 MB, free: 14.26 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.2804, allocations: 58.62 kB / 397.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009701/0.2814, allocations: 0.8812 MB / 398 MB, free: 13.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.2814, allocations: 27.2 kB / 398 MB, free: 13.67 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/0.2818, allocations: 473.1 kB / 398.4 MB, free: 13.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.159e-05/0.2818, allocations: 55.33 kB / 398.5 MB, free: 13.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.282, allocations: 82.72 kB / 398.6 MB, free: 13.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2821, allocations: 326.1 kB / 398.9 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.2825, allocations: 113.9 kB / 399 MB, free: 12.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/0.2829, allocations: 269.3 kB / 399.3 MB, free: 12.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008024/0.2838, allocations: 391.7 kB / 399.7 MB, free: 12.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2838, allocations: 4.562 kB / 399.7 MB, free: 12.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001029/0.2848, allocations: 0.4946 MB / 400.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2848, allocations: 5.406 kB / 400.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/0.2849, allocations: 26.58 kB / 400.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2849, allocations: 11 kB / 400.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.2852, allocations: 86.94 kB / 400.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.2853, allocations: 5.906 kB / 400.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.2857, allocations: 49.91 kB / 400.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.2857, allocations: 22.91 kB / 400.4 MB, free: 11.93 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.000249/0.286, allocations: 218.9 kB / 400.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.2861, allocations: 113.5 kB / 400.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.2873, allocations: 468.5 kB / 401.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.2873, allocations: 2.688 kB / 401.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2873, allocations: 0 / 401.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2874, allocations: 3.984 kB / 401.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.2879, allocations: 0.5687 MB / 401.7 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.506e-05/0.288, allocations: 21.28 kB / 401.7 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.2882, allocations: 48.67 kB / 401.8 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2882, allocations: 6.125 kB / 401.8 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.2883, allocations: 7.781 kB / 401.8 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2883, allocations: 3.984 kB / 401.8 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2883, allocations: 2.594 kB / 401.8 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009301/0.2892, allocations: 444.6 kB / 402.2 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/0.2894, allocations: 195.2 kB / 402.4 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.2895, allocations: 16.52 kB / 402.4 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.2899, allocations: 28.25 kB / 402.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/0.29, allocations: 35.98 kB / 402.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.29, allocations: 12 kB / 402.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005959/0.2906, allocations: 0.5869 MB / 403.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2906, allocations: 0 / 403.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006131/0.2912, allocations: 220 kB / 403.3 MB, free: 10.02 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.0006244/0.2919, allocations: 493 kB / 403.8 MB, free: 9.629 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008885/0.2928, allocations: 349 kB / 404.1 MB, free: 9.285 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2928, allocations: 0 / 404.1 MB, free: 9.285 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004591/0.2932, allocations: 189.5 kB / 404.3 MB, free: 9.094 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007463/0.294, allocations: 159.9 kB / 404.5 MB, free: 8.941 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.2962, allocations: 1.709 MB / 406.2 MB, free: 7.203 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.2967, allocations: 0.9605 MB / 407.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000358/0.297, allocations: 98.02 kB / 407.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.12e-05/0.2971, allocations: 47.44 kB / 407.3 MB, free: 6.07 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2971, allocations: 0 / 407.3 MB, free: 6.07 MB / 318.1 MB Notification: Performance of Templates: time 0.01853/0.3157, allocations: 12.26 MB / 419.6 MB, free: 9.93 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