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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 54.06 kB / 307 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08128/0.08253, allocations: 50.54 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005834/0.0884, allocations: 5.563 MB / 363.1 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1552/0.2436, allocations: 19.43 MB / 382.6 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000513/0.2442, allocations: 11.88 kB / 382.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.2462, allocations: 0.8305 MB / 383.4 MB, free: 7.066 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004243/0.2504, allocations: 1.594 MB / 385 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003999/0.2545, allocations: 1.305 MB / 386.3 MB, free: 5.746 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002792/0.2573, allocations: 1.804 MB / 388.1 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.2576, allocations: 176 kB / 388.3 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004263/0.258, allocations: 344.8 kB / 388.6 MB, free: 5.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/0.2584, allocations: 363 kB / 389 MB, free: 4.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.921e-05/0.2585, allocations: 33.25 kB / 389 MB, free: 4.895 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003834/0.2623, allocations: 1.443 MB / 390.5 MB, free: 4.445 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.2624, allocations: 116.8 kB / 390.6 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.2628, allocations: 431.6 kB / 391 MB, free: 4.102 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.2652, allocations: 1.596 MB / 392.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2652, allocations: 0 / 392.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2652, allocations: 1 kB / 392.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.2652, allocations: 0 / 392.6 MB, free: 3.422 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.001899/0.2671, allocations: 1.39 MB / 394 MB, free: 2.449 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2672, allocations: 13.59 kB / 394 MB, free: 2.445 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.592e-05/0.2672, allocations: 58.33 kB / 394 MB, free: 2.395 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.2674, allocations: 114.8 kB / 394.2 MB, free: 2.336 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008467/0.2682, allocations: 0.7866 MB / 394.9 MB, free: 1.824 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.2682, allocations: 20.27 kB / 395 MB, free: 1.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/0.2683, allocations: 23.38 kB / 395 MB, free: 1.809 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006951/0.269, allocations: 336.4 kB / 395.3 MB, free: 1.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.269, allocations: 0 / 395.3 MB, free: 1.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.2691, allocations: 9.875 kB / 395.3 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.2691, allocations: 10.97 kB / 395.3 MB, free: 1.668 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008691/0.27, allocations: 349.5 kB / 395.7 MB, free: 1.543 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.2717, allocations: 1.239 MB / 396.9 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008117/0.2725, allocations: 267.9 kB / 397.2 MB, free: 428 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/0.273, allocations: 229.4 kB / 397.4 MB, free: 320 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007634/0.2806, allocations: 7.923 MB / 405.3 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005359/0.2812, allocations: 203.6 kB / 405.5 MB, free: 8.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 5.64e-06/0.2812, allocations: 0 / 405.5 MB, free: 8.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001339/0.2825, allocations: 493 kB / 406 MB, free: 8.719 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.2826, allocations: 58.28 kB / 406.1 MB, free: 8.652 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008871/0.2835, allocations: 0.8768 MB / 406.9 MB, free: 8.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.2835, allocations: 34.2 kB / 407 MB, free: 8.125 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/0.2839, allocations: 458.5 kB / 407.4 MB, free: 7.719 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.211e-05/0.2839, allocations: 69.42 kB / 407.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.2841, allocations: 80.48 kB / 407.6 MB, free: 7.609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.2842, allocations: 330.2 kB / 407.9 MB, free: 7.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.2846, allocations: 126.3 kB / 408 MB, free: 7.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/0.285, allocations: 262.4 kB / 408.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007989/0.2858, allocations: 396.8 kB / 408.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2859, allocations: 2.875 kB / 408.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001053/0.2869, allocations: 0.4921 MB / 409.1 MB, free: 6.434 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2869, allocations: 7.812 kB / 409.2 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.874e-05/0.287, allocations: 21.41 kB / 409.2 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.287, allocations: 15.94 kB / 409.2 MB, free: 6.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.2874, allocations: 83.88 kB / 409.3 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.2874, allocations: 11.92 kB / 409.3 MB, free: 6.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.2878, allocations: 51.66 kB / 409.3 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.2879, allocations: 24 kB / 409.4 MB, free: 6.234 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.0002406/0.2881, allocations: 210.8 kB / 409.6 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.2882, allocations: 106.7 kB / 409.7 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.2895, allocations: 483.3 kB / 410.1 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.2895, allocations: 4 kB / 410.1 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2896, allocations: 0 / 410.1 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2896, allocations: 0 / 410.1 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/0.2902, allocations: 0.5633 MB / 410.7 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.499e-05/0.2902, allocations: 20.06 kB / 410.7 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.2905, allocations: 51.88 kB / 410.8 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.2905, allocations: 4 kB / 410.8 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.2905, allocations: 8 kB / 410.8 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2905, allocations: 0 / 410.8 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2905, allocations: 0 / 410.8 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009533/0.2915, allocations: 456.6 kB / 411.2 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/0.2917, allocations: 199.7 kB / 411.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.2918, allocations: 15.94 kB / 411.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.2921, allocations: 23.95 kB / 411.5 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.481e-05/0.2922, allocations: 35.95 kB / 411.5 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.2923, allocations: 12 kB / 411.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006265/0.2929, allocations: 0.592 MB / 412.1 MB, free: 3.363 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2929, allocations: 0 / 412.1 MB, free: 3.363 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006531/0.2936, allocations: 215.8 kB / 412.3 MB, free: 3.152 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.001845/0.2954, allocations: 1.346 MB / 413.7 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00097/0.2964, allocations: 358.3 kB / 414 MB, free: 1.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2964, allocations: 0 / 414 MB, free: 1.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.2969, allocations: 177.5 kB / 414.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008146/0.2977, allocations: 183.6 kB / 414.4 MB, free: 1.055 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007963/0.3057, allocations: 6.152 MB / 420.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.3062, allocations: 0.9563 MB / 421.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003893/0.3066, allocations: 98.02 kB / 421.6 MB, free: 9.438 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/0.3069, allocations: 319.3 kB / 421.9 MB, free: 9.125 MB / 334.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3069, allocations: 0 / 421.9 MB, free: 9.125 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04237/0.3493, allocations: 22.09 MB / 444 MB, free: 3.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/8.001, allocations: 15.73 kB / 444 MB, free: 3.18 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv --start-time 0 --stop-time 1e-07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.0101e-09 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv","/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