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.001059/0.001059, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.00102/0.00102, allocations: 198 kB / 18.07 MB, free: 5.41 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.32/1.32, allocations: 205.1 MB / 223.9 MB, free: 12.38 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.001411/0.001411, allocations: 51.92 kB / 280 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.09581, allocations: 46.63 MB / 326.6 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006637/0.1025, allocations: 5.394 MB / 332 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02008/0.1226, allocations: 18.65 MB / 350.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009063/0.1236, allocations: 11.94 kB / 350.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002604/0.1262, allocations: 0.7414 MB / 351.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005282/0.1315, allocations: 1.279 MB / 352.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00441/0.136, allocations: 1.047 MB / 353.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00327/0.1393, allocations: 1.722 MB / 355.5 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003513/0.1397, allocations: 173.7 kB / 355.6 MB, free: 7.723 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004217/0.1401, allocations: 302.5 kB / 355.9 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.1405, allocations: 349.9 kB / 356.3 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.121e-05/0.1405, allocations: 24 kB / 356.3 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003442/0.144, allocations: 1.105 MB / 357.4 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.1441, allocations: 99.31 kB / 357.5 MB, free: 5.855 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000388/0.1445, allocations: 433.2 kB / 357.9 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002434/0.147, allocations: 1.577 MB / 359.5 MB, free: 3.848 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.147, allocations: 0 / 359.5 MB, free: 3.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.147, allocations: 0 / 359.5 MB, free: 3.848 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.147, allocations: 0 / 359.5 MB, free: 3.848 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.002032/0.149, allocations: 1.39 MB / 360.9 MB, free: 2.402 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1491, allocations: 8.031 kB / 360.9 MB, free: 2.395 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.1493, allocations: 114.6 kB / 361 MB, free: 2.281 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.1503, allocations: 0.7899 MB / 361.8 MB, free: 1.434 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.1503, allocations: 24.5 kB / 361.8 MB, free: 1.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.518e-05/0.1504, allocations: 27.94 kB / 361.8 MB, free: 1.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007343/0.1511, allocations: 328.7 kB / 362.2 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1511, allocations: 3.984 kB / 362.2 MB, free: 1.051 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.1512, allocations: 12 kB / 362.2 MB, free: 1.039 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.1512, allocations: 4 kB / 362.2 MB, free: 1.035 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008504/0.1521, allocations: 346 kB / 362.5 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.1539, allocations: 1.238 MB / 363.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007836/0.1547, allocations: 270.6 kB / 364 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/0.1552, allocations: 229 kB / 364.2 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007919/0.1632, allocations: 7.775 MB / 372 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005421/0.1637, allocations: 215 kB / 372.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.114e-06/0.1638, allocations: 0 / 372.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001323/0.1651, allocations: 492.1 kB / 372.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.1651, allocations: 55.41 kB / 372.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000946/0.1661, allocations: 0.8906 MB / 373.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.1661, allocations: 33.7 kB / 373.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.1665, allocations: 464.3 kB / 374.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.097e-05/0.1666, allocations: 63.12 kB / 374.2 MB, free: 3.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.1667, allocations: 85.52 kB / 374.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1668, allocations: 318 kB / 374.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.1672, allocations: 127.8 kB / 374.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/0.1677, allocations: 257.8 kB / 375 MB, free: 2.973 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000782/0.1684, allocations: 393.6 kB / 375.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1685, allocations: 0 / 375.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001004/0.1695, allocations: 0.4923 MB / 375.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.1695, allocations: 11.94 kB / 375.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.68e-05/0.1695, allocations: 20 kB / 375.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.1696, allocations: 11.94 kB / 375.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.1699, allocations: 87.81 kB / 376 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.17, allocations: 8.375 kB / 376 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.1703, allocations: 59.64 kB / 376 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.1704, allocations: 20 kB / 376.1 MB, free: 1.809 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.0002508/0.1706, allocations: 209.7 kB / 376.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.1707, allocations: 118.5 kB / 376.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.172, allocations: 470.8 kB / 376.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.172, allocations: 4 kB / 376.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.172, allocations: 7.938 kB / 376.9 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.172, allocations: 3.984 kB / 376.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.1726, allocations: 0.5672 MB / 377.4 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.503e-05/0.1726, allocations: 16 kB / 377.4 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.1729, allocations: 47.88 kB / 377.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.1729, allocations: 8 kB / 377.5 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.1729, allocations: 20 kB / 377.5 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.173, allocations: 3.984 kB / 377.5 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.173, allocations: 0 / 377.5 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1655/0.3385, allocations: 432.8 kB / 377.9 MB, free: 56.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.3388, allocations: 204.1 kB / 378.1 MB, free: 56.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.3389, allocations: 8.438 kB / 378.1 MB, free: 56.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.3392, allocations: 30.28 kB / 378.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.3393, allocations: 34.88 kB / 378.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.3394, allocations: 16.06 kB / 378.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007263/0.3401, allocations: 0.5905 MB / 378.8 MB, free: 56.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3401, allocations: 0 / 378.8 MB, free: 56.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006718/0.3408, allocations: 222 kB / 379 MB, free: 56.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.0007339/0.3415, allocations: 481.4 kB / 379.5 MB, free: 56.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.3426, allocations: 350.9 kB / 379.8 MB, free: 56.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3426, allocations: 0 / 379.8 MB, free: 56.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004461/0.3431, allocations: 186.2 kB / 380 MB, free: 56.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.3437, allocations: 134.5 kB / 380.2 MB, free: 56.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.346, allocations: 1.712 MB / 381.9 MB, free: 55.22 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.3464, allocations: 0.9601 MB / 382.8 MB, free: 54.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003653/0.3468, allocations: 100.6 kB / 382.9 MB, free: 54.51 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.3469, allocations: 51.7 kB / 383 MB, free: 54.5 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3469, allocations: 3.938 kB / 383 MB, free: 54.5 MB / 318.1 MB Notification: Performance of Templates: time 0.01995/0.3669, allocations: 12.31 MB / 395.3 MB, free: 49.66 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches