Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001424/0.001424, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00162/0.00162, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 60.03 kB / 306.3 MB, free: 1.078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08678/0.08803, allocations: 50.54 MB / 356.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005919/0.09398, allocations: 5.566 MB / 362.4 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1634/0.2574, allocations: 19.61 MB / 382 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006464/0.2581, allocations: 10.47 kB / 382 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.2601, allocations: 0.7688 MB / 382.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004407/0.2645, allocations: 1.301 MB / 384.1 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003918/0.2684, allocations: 1.091 MB / 385.1 MB, free: 6.473 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002617/0.2711, allocations: 1.776 MB / 386.9 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.2713, allocations: 161.6 kB / 387.1 MB, free: 5.914 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003618/0.2717, allocations: 332.4 kB / 387.4 MB, free: 5.781 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003208/0.272, allocations: 358.7 kB / 387.8 MB, free: 5.609 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.229e-05/0.2721, allocations: 21.34 kB / 387.8 MB, free: 5.609 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003207/0.2753, allocations: 1.436 MB / 389.2 MB, free: 5.156 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.2754, allocations: 108.3 kB / 389.3 MB, free: 5.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000344/0.2758, allocations: 416 kB / 389.7 MB, free: 4.836 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.2779, allocations: 1.575 MB / 391.3 MB, free: 4.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2779, allocations: 5.406 kB / 391.3 MB, free: 4.156 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.2779, allocations: 0 / 391.3 MB, free: 4.156 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.2779, allocations: 3.938 kB / 391.3 MB, free: 4.152 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.00192/0.2798, allocations: 1.383 MB / 392.7 MB, free: 3.184 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2799, allocations: 9.062 kB / 392.7 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.28, allocations: 118.8 kB / 392.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009099/0.281, allocations: 0.7787 MB / 393.6 MB, free: 2.617 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.281, allocations: 17.12 kB / 393.6 MB, free: 2.609 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.271e-05/0.2811, allocations: 24.33 kB / 393.6 MB, free: 2.602 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007448/0.2818, allocations: 343.6 kB / 394 MB, free: 2.473 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2818, allocations: 0 / 394 MB, free: 2.473 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.2819, allocations: 13.2 kB / 394 MB, free: 2.465 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.2819, allocations: 5.594 kB / 394 MB, free: 2.465 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008953/0.2828, allocations: 343.3 kB / 394.3 MB, free: 2.383 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.2846, allocations: 1.239 MB / 395.6 MB, free: 1.559 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.2854, allocations: 262.6 kB / 395.8 MB, free: 1.418 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004899/0.2859, allocations: 236.8 kB / 396 MB, free: 1.305 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007197/0.2931, allocations: 7.921 MB / 404 MB, free: 10.08 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005224/0.2936, allocations: 209.6 kB / 404.2 MB, free: 9.945 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.245e-06/0.2936, allocations: 4 kB / 404.2 MB, free: 9.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001325/0.295, allocations: 493.2 kB / 404.7 MB, free: 9.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.295, allocations: 56.09 kB / 404.7 MB, free: 9.645 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009262/0.2959, allocations: 0.8796 MB / 405.6 MB, free: 9.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.296, allocations: 32.55 kB / 405.6 MB, free: 9.113 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003542/0.2963, allocations: 465.2 kB / 406.1 MB, free: 8.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/0.2964, allocations: 57.44 kB / 406.1 MB, free: 8.652 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.2966, allocations: 87.78 kB / 406.2 MB, free: 8.598 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.2967, allocations: 333 kB / 406.5 MB, free: 8.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.2971, allocations: 128 kB / 406.7 MB, free: 8.211 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.2975, allocations: 254.1 kB / 406.9 MB, free: 7.977 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007754/0.2983, allocations: 397.2 kB / 407.3 MB, free: 7.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2983, allocations: 0 / 407.3 MB, free: 7.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001015/0.2993, allocations: 0.4929 MB / 407.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2994, allocations: 7.312 kB / 407.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.439e-05/0.2994, allocations: 20.31 kB / 407.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2994, allocations: 7.188 kB / 407.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.2998, allocations: 92.19 kB / 407.9 MB, free: 7.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.2998, allocations: 5.281 kB / 407.9 MB, free: 7.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.3002, allocations: 55.95 kB / 408 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.3003, allocations: 23.16 kB / 408 MB, free: 7.355 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.0002694/0.3005, allocations: 217.7 kB / 408.2 MB, free: 7.172 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.3007, allocations: 106.7 kB / 408.3 MB, free: 7.066 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.302, allocations: 477.9 kB / 408.8 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.302, allocations: 4 kB / 408.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.302, allocations: 0 / 408.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.302, allocations: 0 / 408.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006274/0.3027, allocations: 0.5647 MB / 409.4 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-05/0.3027, allocations: 20 kB / 409.4 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.303, allocations: 47.95 kB / 409.4 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.303, allocations: 4 kB / 409.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.303, allocations: 19.92 kB / 409.4 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.303, allocations: 0 / 409.4 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.303, allocations: 0 / 409.4 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009635/0.304, allocations: 445.8 kB / 409.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.3042, allocations: 199.7 kB / 410.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.3044, allocations: 11.94 kB / 410.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.3047, allocations: 31.66 kB / 410.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3048, allocations: 35.89 kB / 410.2 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.3048, allocations: 12 kB / 410.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006712/0.3055, allocations: 0.592 MB / 410.8 MB, free: 4.523 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3055, allocations: 0 / 410.8 MB, free: 4.523 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006815/0.3062, allocations: 215.8 kB / 411 MB, free: 4.312 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.000705/0.3069, allocations: 483.3 kB / 411.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009619/0.3079, allocations: 358.4 kB / 411.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3079, allocations: 0 / 411.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004923/0.3084, allocations: 181.5 kB / 412 MB, free: 3.289 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008087/0.3092, allocations: 159.3 kB / 412.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.3116, allocations: 1.714 MB / 413.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.312, allocations: 0.9566 MB / 414.8 MB, free: 412 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003616/0.3124, allocations: 94.02 kB / 414.9 MB, free: 316 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.3125, allocations: 55.42 kB / 414.9 MB, free: 260 kB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3125, allocations: 0 / 414.9 MB, free: 260 kB / 318.1 MB Notification: Performance of Templates: time 0.01911/0.3316, allocations: 12.29 MB / 427.2 MB, free: 4.039 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches