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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 107.1 kB / 18.4 MB, free: 4.656 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.00186/0.001861, allocations: 188.5 kB / 19.34 MB, free: 3.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 43.94 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07769/0.07894, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.1571/0.236, allocations: 5.388 MB / 381.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01622/0.2523, allocations: 18.5 MB / 399.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007082/0.2531, allocations: 28.38 kB / 399.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.2552, allocations: 0.817 MB / 400.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004503/0.2598, allocations: 1.572 MB / 402.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.2631, allocations: 1.262 MB / 403.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002592/0.2657, allocations: 1.749 MB / 405.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/0.266, allocations: 180.9 kB / 405.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003862/0.2664, allocations: 329 kB / 405.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003967/0.2668, allocations: 362.1 kB / 406 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.314e-05/0.2669, allocations: 32.28 kB / 406 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.2697, allocations: 1.119 MB / 407.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.2699, allocations: 116.8 kB / 407.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.2702, allocations: 432.9 kB / 407.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002217/0.2725, allocations: 1.624 MB / 409.3 MB, free: 9.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2725, allocations: 5.125 kB / 409.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2725, allocations: 0 / 409.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.2725, allocations: 0 / 409.3 MB, free: 9.824 MB / 334.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.002071/0.2746, allocations: 1.386 MB / 410.7 MB, free: 8.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.2746, allocations: 12.48 kB / 410.7 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.2748, allocations: 116.6 kB / 410.8 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009471/0.2758, allocations: 0.7726 MB / 411.6 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.2758, allocations: 18.75 kB / 411.6 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.699e-05/0.2759, allocations: 31.25 kB / 411.6 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007856/0.2766, allocations: 339.3 kB / 412 MB, free: 7.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2767, allocations: 0 / 412 MB, free: 7.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.2767, allocations: 9.688 kB / 412 MB, free: 7.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.2767, allocations: 6.188 kB / 412 MB, free: 7.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009444/0.2777, allocations: 349.8 kB / 412.3 MB, free: 7.762 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.2795, allocations: 1.229 MB / 413.6 MB, free: 6.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008597/0.2804, allocations: 268.1 kB / 413.8 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.281, allocations: 228.4 kB / 414 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007205/0.2882, allocations: 7.794 MB / 421.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005345/0.2887, allocations: 210.6 kB / 422 MB, free: 15.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.854e-06/0.2887, allocations: 0 / 422 MB, free: 15.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001381/0.2901, allocations: 496.2 kB / 422.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.2902, allocations: 58.14 kB / 422.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009327/0.2911, allocations: 0.8915 MB / 423.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.2912, allocations: 32.61 kB / 423.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.2915, allocations: 464 kB / 424 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/0.2916, allocations: 52.12 kB / 424 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.2917, allocations: 87.02 kB / 424.1 MB, free: 14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.314e-05/0.2918, allocations: 321.3 kB / 424.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.2922, allocations: 130.6 kB / 424.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004676/0.2927, allocations: 257.9 kB / 424.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008459/0.2935, allocations: 402.6 kB / 425.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2935, allocations: 4 kB / 425.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001073/0.2946, allocations: 0.4959 MB / 425.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.2947, allocations: 15.88 kB / 425.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.685e-05/0.2947, allocations: 24 kB / 425.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.2947, allocations: 10.38 kB / 425.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.2951, allocations: 84.28 kB / 425.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.2951, allocations: 11.98 kB / 425.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.2955, allocations: 51.72 kB / 425.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.2956, allocations: 24 kB / 425.9 MB, free: 12.21 MB / 350.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.0002428/0.2958, allocations: 209.6 kB / 426.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.2959, allocations: 110.6 kB / 426.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.2971, allocations: 467.6 kB / 426.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.2972, allocations: 3.984 kB / 426.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/0.2972, allocations: 16 kB / 426.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.2974, allocations: 199.7 kB / 426.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.2975, allocations: 8 kB / 426.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.2979, allocations: 23.95 kB / 426.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.677e-05/0.298, allocations: 31.91 kB / 426.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001074/0.2991, allocations: 400.6 kB / 427.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009812/0.3, allocations: 0.5509 MB / 427.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004013/0.3005, allocations: 130.7 kB / 428 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006685/0.3011, allocations: 0.5961 MB / 428.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of Backend: time 3.31e-07/0.3011, allocations: 0 / 428.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001768/0.3029, allocations: 0.8277 MB / 429.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of SimCode: time 0.002043/0.305, allocations: 1.916 MB / 431.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of Templates: time 0.02235/0.3273, allocations: 15.78 MB / 447.1 MB, free: 6.809 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches