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.001516/0.001516, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001842/0.001842, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 246.9 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 64.36 kB / 306.9 MB, free: 1.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08472/0.08582, allocations: 50.52 MB / 357.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005871/0.09172, allocations: 5.571 MB / 363 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1829/0.2747, allocations: 19.62 MB / 382.6 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005557/0.2753, allocations: 14.47 kB / 382.6 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002367/0.2777, allocations: 0.7624 MB / 383.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004993/0.2827, allocations: 1.307 MB / 384.7 MB, free: 6.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003925/0.2866, allocations: 1.09 MB / 385.8 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002698/0.2894, allocations: 1.775 MB / 387.6 MB, free: 5.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.2896, allocations: 158.8 kB / 387.7 MB, free: 5.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003885/0.29, allocations: 335.2 kB / 388 MB, free: 5.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.2904, allocations: 358.8 kB / 388.4 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.706e-05/0.2904, allocations: 22.62 kB / 388.4 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003426/0.2939, allocations: 1.435 MB / 389.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.294, allocations: 104.2 kB / 390 MB, free: 5.055 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003399/0.2943, allocations: 424.2 kB / 390.4 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.2955, allocations: 1.138 MB / 391.5 MB, free: 4.305 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2955, allocations: 0 / 391.5 MB, free: 4.305 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2955, allocations: 0 / 391.5 MB, free: 4.305 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.2955, allocations: 0 / 391.5 MB, free: 4.305 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.002006/0.2975, allocations: 1.383 MB / 392.9 MB, free: 3.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.2976, allocations: 13.97 kB / 392.9 MB, free: 3.336 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.2978, allocations: 115.2 kB / 393 MB, free: 3.277 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009721/0.2987, allocations: 0.7881 MB / 393.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.2988, allocations: 17.75 kB / 393.8 MB, free: 2.754 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.026e-05/0.2988, allocations: 19.62 kB / 393.8 MB, free: 2.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007584/0.2996, allocations: 336 kB / 394.2 MB, free: 2.629 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2996, allocations: 4 kB / 394.2 MB, free: 2.625 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.2997, allocations: 14.42 kB / 394.2 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.2997, allocations: 8.969 kB / 394.2 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008927/0.3006, allocations: 342.8 kB / 394.5 MB, free: 2.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.3023, allocations: 1.249 MB / 395.8 MB, free: 1.727 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007585/0.3031, allocations: 263.6 kB / 396 MB, free: 1.586 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004674/0.3036, allocations: 232.5 kB / 396.3 MB, free: 1.477 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007256/0.3109, allocations: 7.916 MB / 404.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005164/0.3114, allocations: 201.5 kB / 404.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.904e-06/0.3114, allocations: 3.938 kB / 404.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001294/0.3127, allocations: 490.5 kB / 404.9 MB, free: 9.891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.3128, allocations: 60.06 kB / 404.9 MB, free: 9.824 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000935/0.3137, allocations: 0.8843 MB / 405.8 MB, free: 9.324 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.3137, allocations: 31.02 kB / 405.8 MB, free: 9.289 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.3141, allocations: 468.2 kB / 406.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.3142, allocations: 56.89 kB / 406.3 MB, free: 8.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.3143, allocations: 86.66 kB / 406.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3144, allocations: 324.6 kB / 406.7 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.3148, allocations: 128.2 kB / 406.9 MB, free: 8.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/0.3152, allocations: 258.5 kB / 407.1 MB, free: 8.156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000748/0.316, allocations: 391.5 kB / 407.5 MB, free: 7.852 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.316, allocations: 9.062 kB / 407.5 MB, free: 7.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009672/0.317, allocations: 0.4961 MB / 408 MB, free: 7.598 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.317, allocations: 6.531 kB / 408 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.153e-05/0.317, allocations: 20.88 kB / 408 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.317, allocations: 7.406 kB / 408 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.3174, allocations: 91.64 kB / 408.1 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.3174, allocations: 10.41 kB / 408.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.3178, allocations: 54.06 kB / 408.2 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.3179, allocations: 23.91 kB / 408.2 MB, free: 7.527 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.0002604/0.3181, allocations: 219.3 kB / 408.4 MB, free: 7.344 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.3183, allocations: 110.9 kB / 408.5 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.3195, allocations: 468.7 kB / 409 MB, free: 6.988 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3195, allocations: 4 kB / 409 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3195, allocations: 0 / 409 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3195, allocations: 3.984 kB / 409 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005582/0.3201, allocations: 0.5632 MB / 409.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.325e-05/0.3201, allocations: 20 kB / 409.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.3204, allocations: 48.02 kB / 409.6 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3204, allocations: 0 / 409.6 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.3204, allocations: 12 kB / 409.6 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.3204, allocations: 0 / 409.6 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3204, allocations: 0 / 409.6 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009132/0.3214, allocations: 445.9 kB / 410.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.3216, allocations: 199.7 kB / 410.3 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.3217, allocations: 11.94 kB / 410.3 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.322, allocations: 35.83 kB / 410.3 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.542e-05/0.3221, allocations: 27.97 kB / 410.4 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.3222, allocations: 15.98 kB / 410.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006845/0.3229, allocations: 0.5881 MB / 411 MB, free: 4.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3229, allocations: 0 / 411 MB, free: 4.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006845/0.3236, allocations: 219.8 kB / 411.2 MB, free: 4.715 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.000691/0.3243, allocations: 495.2 kB / 411.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009014/0.3252, allocations: 346.3 kB / 412 MB, free: 3.875 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3252, allocations: 4.125 kB / 412 MB, free: 3.871 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004697/0.3257, allocations: 185.5 kB / 412.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008121/0.3265, allocations: 163.1 kB / 412.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.329, allocations: 1.751 MB / 414.1 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.3295, allocations: 0.9566 MB / 415 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.3296, allocations: 47.44 kB / 415.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3296, allocations: 0 / 415.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of Templates: time 0.01619/0.3458, allocations: 12.36 MB / 427.4 MB, free: 4.398 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches