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.0009059/0.0009059, allocations: 95.44 kB / 16.93 MB, free: 5.984 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.0009807/0.0009807, allocations: 177.5 kB / 17.82 MB, free: 5.652 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.551/1.551, allocations: 205.4 MB / 224 MB, free: 13.16 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.000469/0.0004691, allocations: 12 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1056, allocations: 47.58 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.004711/0.1104, allocations: 4.372 MB / 332.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01588/0.1263, allocations: 15.64 MB / 348.3 MB, free: 36 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007236/0.1271, allocations: 7.938 kB / 348.3 MB, free: 28 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002216/0.1293, allocations: 0.7431 MB / 349.1 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004244/0.1336, allocations: 1.34 MB / 350.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002905/0.1365, allocations: 1.048 MB / 351.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002638/0.1391, allocations: 1.647 MB / 353.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.1394, allocations: 147.8 kB / 353.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.1397, allocations: 270.7 kB / 353.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.1401, allocations: 326.1 kB / 353.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.1401, allocations: 16 kB / 353.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002962/0.1431, allocations: 1.195 MB / 355.1 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1432, allocations: 91.38 kB / 355.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.1434, allocations: 209.1 kB / 355.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.1446, allocations: 1.072 MB / 356.4 MB, free: 7.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1446, allocations: 0 / 356.4 MB, free: 7.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1446, allocations: 0 / 356.4 MB, free: 7.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.1446, allocations: 0 / 356.4 MB, free: 7.91 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.00199/0.1466, allocations: 1.281 MB / 357.7 MB, free: 6.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1467, allocations: 8.031 kB / 357.7 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.1468, allocations: 122.5 kB / 357.8 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.1478, allocations: 0.7403 MB / 358.6 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.1479, allocations: 12.56 kB / 358.6 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.475e-05/0.1479, allocations: 31.91 kB / 358.6 MB, free: 5.609 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/0.1487, allocations: 360.7 kB / 359 MB, free: 5.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1487, allocations: 0 / 359 MB, free: 5.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.1487, allocations: 4 kB / 359 MB, free: 5.246 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.1487, allocations: 12 kB / 359 MB, free: 5.234 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000867/0.1496, allocations: 386 kB / 359.4 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.1515, allocations: 1.242 MB / 360.6 MB, free: 3.539 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008639/0.1524, allocations: 310.7 kB / 360.9 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008309/0.1607, allocations: 7.814 MB / 368.7 MB, free: 10.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005548/0.1613, allocations: 231 kB / 368.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 4.819e-06/0.1613, allocations: 0 / 368.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.00135/0.1626, allocations: 0.626 MB / 369.6 MB, free: 9.477 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1627, allocations: 59.41 kB / 369.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009227/0.1636, allocations: 0.8788 MB / 370.5 MB, free: 8.516 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.1637, allocations: 33.7 kB / 370.5 MB, free: 8.477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003459/0.164, allocations: 460.3 kB / 371 MB, free: 8.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.1641, allocations: 59.25 kB / 371 MB, free: 7.961 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/0.1641, allocations: 8 kB / 371 MB, free: 7.953 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1642, allocations: 322 kB / 371.4 MB, free: 7.633 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.1646, allocations: 135.9 kB / 371.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004548/0.1651, allocations: 289.8 kB / 371.8 MB, free: 7.152 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.1655, allocations: 163.9 kB / 371.9 MB, free: 6.992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1655, allocations: 0 / 371.9 MB, free: 6.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001015/0.1665, allocations: 0.535 MB / 372.5 MB, free: 6.449 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1665, allocations: 8 kB / 372.5 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.429e-05/0.1666, allocations: 23.98 kB / 372.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.1666, allocations: 8 kB / 372.5 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.167, allocations: 100.4 kB / 372.6 MB, free: 6.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.167, allocations: 11.98 kB / 372.6 MB, free: 6.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.1674, allocations: 67.56 kB / 372.7 MB, free: 6.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/0.1674, allocations: 24 kB / 372.7 MB, free: 6.211 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 ($PRE.VDS.counter,VDS.counter,$PRE.VGS.counter,VGS.counter,$whenCondition2,$whenCondition1,$PRE.VDS.T0,VDS.T0,$PRE.VDS.counter2,VDS.counter2,$PRE.VGS.T0,VGS.T0,$PRE.VGS.counter2,VGS.counter2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002456/0.1677, allocations: 209.6 kB / 372.9 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.1678, allocations: 118.6 kB / 373 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.1691, allocations: 0.5074 MB / 373.5 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1691, allocations: 7.938 kB / 373.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1691, allocations: 0 / 373.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.1691, allocations: 7.938 kB / 373.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.1696, allocations: 0.5672 MB / 374.1 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.33e-05/0.1697, allocations: 16 kB / 374.1 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.1699, allocations: 52.02 kB / 374.2 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1699, allocations: 4 kB / 374.2 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.17, allocations: 15.98 kB / 374.2 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.17, allocations: 3.938 kB / 374.2 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.17, allocations: 0 / 374.2 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009284/0.1709, allocations: 0.497 MB / 374.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.1712, allocations: 203.6 kB / 374.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.426e-05/0.1713, allocations: 4 kB / 374.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.1716, allocations: 39.97 kB / 375 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/0.1717, allocations: 31.95 kB / 375 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.1717, allocations: 15.98 kB / 375 MB, free: 3.793 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006014/0.1723, allocations: 0.5805 MB / 375.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1723, allocations: 3.938 kB / 375.6 MB, free: 3.203 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005892/0.1729, allocations: 219.8 kB / 375.8 MB, free: 2.988 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005965/0.1735, allocations: 472 kB / 376.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009292/0.1745, allocations: 398.3 kB / 376.6 MB, free: 2.121 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1745, allocations: 0 / 376.6 MB, free: 2.121 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004398/0.1749, allocations: 204.9 kB / 376.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.1754, allocations: 144.4 kB / 377 MB, free: 1.777 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.1775, allocations: 1.666 MB / 378.7 MB, free: 80 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.164/0.3415, allocations: 0.9788 MB / 379.6 MB, free: 54.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000488/0.342, allocations: 97.02 kB / 379.7 MB, free: 54.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.3422, allocations: 47.31 kB / 379.8 MB, free: 54.64 MB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3422, allocations: 0 / 379.8 MB, free: 54.64 MB / 318.1 MB Notification: Performance of Templates: time 0.02048/0.3626, allocations: 11.68 MB / 391.5 MB, free: 50.95 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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