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.001775/0.001775, allocations: 109.8 kB / 17.28 MB, free: 6.199 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.00198/0.00198, allocations: 197.3 kB / 18.21 MB, free: 5.273 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.415/1.415, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 50.7 kB / 300.8 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.11, allocations: 49.45 MB / 350.2 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.00574/0.1157, allocations: 5.535 MB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.189/0.3048, allocations: 19.21 MB / 375 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008766/0.3057, allocations: 8.688 kB / 375 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002992/0.3087, allocations: 0.7655 MB / 375.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006313/0.3151, allocations: 1.367 MB / 377.1 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005173/0.3203, allocations: 1.14 MB / 378.3 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003173/0.3235, allocations: 1.804 MB / 380.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.3238, allocations: 173.4 kB / 380.2 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005347/0.3244, allocations: 350.7 kB / 380.6 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004119/0.3248, allocations: 365.8 kB / 380.9 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.9e-05/0.3249, allocations: 32.97 kB / 381 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004562/0.3294, allocations: 1.454 MB / 382.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.3296, allocations: 112.3 kB / 382.5 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004751/0.3301, allocations: 432.1 kB / 383 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.3317, allocations: 1.145 MB / 384.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3317, allocations: 0 / 384.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3317, allocations: 3.141 kB / 384.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.3318, allocations: 1.031 kB / 384.1 MB, free: 7.812 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.002211/0.334, allocations: 1.383 MB / 385.5 MB, free: 6.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.334, allocations: 13.14 kB / 385.5 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.3342, allocations: 115.8 kB / 385.6 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009441/0.3351, allocations: 0.7901 MB / 386.4 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.3352, allocations: 16.41 kB / 386.4 MB, free: 6.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.3352, allocations: 27.31 kB / 386.4 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000743/0.336, allocations: 336.5 kB / 386.8 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.336, allocations: 0 / 386.8 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.3361, allocations: 14.34 kB / 386.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.3361, allocations: 5.5 kB / 386.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008425/0.3369, allocations: 348 kB / 387.1 MB, free: 6.266 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.3388, allocations: 1.246 MB / 388.4 MB, free: 5.504 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007646/0.3396, allocations: 260.9 kB / 388.6 MB, free: 5.414 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004609/0.3401, allocations: 230.7 kB / 388.9 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006544/0.3466, allocations: 7.762 MB / 396.6 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005186/0.3472, allocations: 206 kB / 396.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.265e-06/0.3472, allocations: 0 / 396.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001339/0.3485, allocations: 494 kB / 397.3 MB, free: 14.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.3486, allocations: 55.19 kB / 397.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.3497, allocations: 0.881 MB / 398.2 MB, free: 13.85 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.3498, allocations: 31.11 kB / 398.3 MB, free: 13.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/0.3501, allocations: 467.7 kB / 398.7 MB, free: 13.4 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.3502, allocations: 59.39 kB / 398.8 MB, free: 13.35 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.3503, allocations: 86.72 kB / 398.9 MB, free: 13.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.3504, allocations: 316.7 kB / 399.2 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.3508, allocations: 125.2 kB / 399.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/0.3513, allocations: 258.4 kB / 399.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008025/0.3521, allocations: 404.4 kB / 400 MB, free: 12.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3521, allocations: 2.594 kB / 400 MB, free: 12.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001069/0.3532, allocations: 499.5 kB / 400.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3532, allocations: 11.81 kB / 400.5 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.618e-05/0.3532, allocations: 22.94 kB / 400.5 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3533, allocations: 8.156 kB / 400.5 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.3536, allocations: 87.11 kB / 400.6 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.3536, allocations: 12.19 kB / 400.6 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004855/0.3541, allocations: 54.53 kB / 400.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.3542, allocations: 23.03 kB / 400.7 MB, free: 12.06 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.0003059/0.3545, allocations: 211.5 kB / 400.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.3546, allocations: 107.1 kB / 401 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.3559, allocations: 475.4 kB / 401.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3559, allocations: 6.531 kB / 401.4 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3559, allocations: 0 / 401.4 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.356, allocations: 3.984 kB / 401.4 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007079/0.3567, allocations: 0.5678 MB / 402 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/0.3567, allocations: 16.84 kB / 402 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.357, allocations: 44.2 kB / 402.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.357, allocations: 2.844 kB / 402.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.357, allocations: 11.5 kB / 402.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.357, allocations: 0 / 402.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.357, allocations: 4.125 kB / 402.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000902/0.3579, allocations: 448.3 kB / 402.5 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.3582, allocations: 204.1 kB / 402.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.3583, allocations: 6.5 kB / 402.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.3586, allocations: 34.39 kB / 402.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.481e-05/0.3588, allocations: 30.19 kB / 402.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.3588, allocations: 13.12 kB / 402.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006803/0.3595, allocations: 0.5923 MB / 403.4 MB, free: 10.26 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3595, allocations: 0 / 403.4 MB, free: 10.26 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007273/0.3602, allocations: 217.5 kB / 403.6 MB, free: 10.23 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.0007361/0.361, allocations: 496.5 kB / 404.1 MB, free: 9.848 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009642/0.3619, allocations: 354.4 kB / 404.4 MB, free: 9.496 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3619, allocations: 4.125 kB / 404.4 MB, free: 9.492 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000476/0.3624, allocations: 178.2 kB / 404.6 MB, free: 9.312 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000811/0.3633, allocations: 171.1 kB / 404.8 MB, free: 9.152 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.3658, allocations: 1.759 MB / 406.5 MB, free: 7.359 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/0.3663, allocations: 0.9525 MB / 407.5 MB, free: 6.379 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.3665, allocations: 55.42 kB / 407.6 MB, free: 6.324 MB / 318.1 MB Notification: Performance of SimCode: time 5.1e-07/0.3665, allocations: 0 / 407.6 MB, free: 6.324 MB / 318.1 MB Notification: Performance of Templates: time 0.01766/0.3841, allocations: 12.33 MB / 419.9 MB, free: 10.05 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/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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches