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.001195/0.001199, allocations: 104.5 kB / 18.35 MB, free: 4.645 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.001203/0.001202, allocations: 191 kB / 19.29 MB, free: 3.715 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.351/1.351, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001282/0.001282, allocations: 47.94 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1138, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005791/0.1196, allocations: 5.395 MB / 334.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01976/0.1394, allocations: 18.49 MB / 352.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008285/0.1403, allocations: 27.81 kB / 352.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.1427, allocations: 0.8026 MB / 353.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005643/0.1483, allocations: 1.561 MB / 355 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004802/0.1531, allocations: 1.26 MB / 356.3 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003073/0.1562, allocations: 1.765 MB / 358 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.1566, allocations: 173.2 kB / 358.2 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004386/0.1571, allocations: 322.5 kB / 358.5 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004079/0.1575, allocations: 361.8 kB / 358.9 MB, free: 5.469 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.111e-05/0.1575, allocations: 32 kB / 358.9 MB, free: 5.438 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003579/0.1611, allocations: 1.124 MB / 360 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1613, allocations: 111.3 kB / 360.1 MB, free: 4.203 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004682/0.1617, allocations: 437.2 kB / 360.6 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.1644, allocations: 1.616 MB / 362.2 MB, free: 2.152 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1644, allocations: 0 / 362.2 MB, free: 2.152 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1644, allocations: 4 kB / 362.2 MB, free: 2.148 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.1645, allocations: 0 / 362.2 MB, free: 2.148 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.002131/0.1666, allocations: 1.386 MB / 363.6 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1666, allocations: 11.89 kB / 363.6 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.1668, allocations: 118.6 kB / 363.7 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009917/0.1678, allocations: 0.7744 MB / 364.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1678, allocations: 20.56 kB / 364.5 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.499e-05/0.1679, allocations: 35.83 kB / 364.5 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007048/0.1686, allocations: 332.7 kB / 364.8 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1686, allocations: 4 kB / 364.8 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.1687, allocations: 12 kB / 364.9 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1687, allocations: 7.938 kB / 364.9 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000835/0.1695, allocations: 346 kB / 365.2 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.1714, allocations: 1.238 MB / 366.4 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007662/0.1722, allocations: 262.6 kB / 366.7 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/0.1727, allocations: 229 kB / 366.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008121/0.1809, allocations: 7.779 MB / 374.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005039/0.1814, allocations: 211.1 kB / 374.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.535e-06/0.1814, allocations: 0 / 374.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.00131/0.1827, allocations: 488.8 kB / 375.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.1828, allocations: 63.33 kB / 375.4 MB, free: 3.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009629/0.1837, allocations: 0.8828 MB / 376.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.1838, allocations: 29.7 kB / 376.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/0.1841, allocations: 468.3 kB / 376.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.144e-05/0.1842, allocations: 63.19 kB / 376.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.1843, allocations: 85.5 kB / 377 MB, free: 2.047 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1844, allocations: 322 kB / 377.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.1848, allocations: 115.9 kB / 377.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004237/0.1852, allocations: 269.7 kB / 377.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007392/0.186, allocations: 397.4 kB / 378 MB, free: 0.832 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.186, allocations: 0 / 378 MB, free: 0.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009854/0.187, allocations: 0.4963 MB / 378.5 MB, free: 336 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.187, allocations: 7.938 kB / 378.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.406e-05/0.1871, allocations: 27.98 kB / 378.6 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.1871, allocations: 7.984 kB / 378.6 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.1874, allocations: 91.8 kB / 378.7 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.1875, allocations: 8 kB / 378.7 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000357/0.1878, allocations: 59.88 kB / 378.7 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.1879, allocations: 20 kB / 378.8 MB, free: 112 kB / 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.1542/0.3421, allocations: 204 kB / 379 MB, free: 56.22 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.3424, allocations: 114 kB / 379.1 MB, free: 56.22 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.3437, allocations: 468.7 kB / 379.5 MB, free: 56.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3437, allocations: 1.938 kB / 379.5 MB, free: 56.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3437, allocations: 0.9688 kB / 379.5 MB, free: 56.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3437, allocations: 0.6562 kB / 379.5 MB, free: 56.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005597/0.3443, allocations: 0.5693 MB / 380.1 MB, free: 55.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.934e-05/0.3443, allocations: 17.94 kB / 380.1 MB, free: 55.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.3445, allocations: 46.41 kB / 380.2 MB, free: 55.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.3446, allocations: 2.656 kB / 380.2 MB, free: 55.94 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.3446, allocations: 10.12 kB / 380.2 MB, free: 55.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.3446, allocations: 5.281 kB / 380.2 MB, free: 55.94 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3446, allocations: 5.219 kB / 380.2 MB, free: 55.94 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009147/0.3455, allocations: 447.8 kB / 380.6 MB, free: 55.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.3458, allocations: 198.5 kB / 380.8 MB, free: 55.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.44e-05/0.3459, allocations: 7.266 kB / 380.8 MB, free: 55.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.3462, allocations: 30.92 kB / 380.9 MB, free: 55.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.3463, allocations: 32.34 kB / 380.9 MB, free: 55.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.3464, allocations: 11.09 kB / 380.9 MB, free: 55.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008012/0.3472, allocations: 0.5948 MB / 381.5 MB, free: 55.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 4e-07/0.3472, allocations: 0 / 381.5 MB, free: 55.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006715/0.3479, allocations: 223.8 kB / 381.7 MB, free: 55.6 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.0006468/0.3485, allocations: 496.8 kB / 382.2 MB, free: 55.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008771/0.3494, allocations: 355.7 kB / 382.5 MB, free: 55.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3494, allocations: 1.125 kB / 382.5 MB, free: 55.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004624/0.3499, allocations: 179.8 kB / 382.7 MB, free: 55.42 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.3505, allocations: 150.7 kB / 382.9 MB, free: 55.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.3528, allocations: 1.449 MB / 384.3 MB, free: 54.71 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.3533, allocations: 0.9585 MB / 385.3 MB, free: 54.01 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003096/0.3537, allocations: 95.67 kB / 385.4 MB, free: 54 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.3538, allocations: 57.98 kB / 385.4 MB, free: 53.99 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3538, allocations: 0 / 385.4 MB, free: 53.99 MB / 318.1 MB Notification: Performance of Templates: time 0.02135/0.3751, allocations: 12.83 MB / 398.3 MB, free: 47.71 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches