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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000881/0.0008808, allocations: 92.14 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.642e-05/1.645e-05, allocations: 7.938 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0926/0.09263, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3621/0.4548, allocations: 103.4 MB / 490.9 MB, free: 7.383 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.4551, allocations: 77.67 kB / 491 MB, free: 7.309 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3766/0.8317, allocations: 77.42 MB / 0.555 GB, free: 104.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.8318, allocations: 0 / 0.555 GB, free: 104.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.303e-05/0.8318, allocations: 13.75 kB / 0.5551 GB, free: 104.7 MB / 426.7 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.003122/0.835, allocations: 1.208 MB / 0.5562 GB, free: 104.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.835, allocations: 9.531 kB / 0.5563 GB, free: 104.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004098/0.8354, allocations: 120.7 kB / 0.5564 GB, free: 104 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.8374, allocations: 0.7611 MB / 0.5571 GB, free: 103.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.8374, allocations: 8.156 kB / 0.5571 GB, free: 103.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.131e-05/0.8375, allocations: 14.84 kB / 0.5571 GB, free: 103.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004877/0.838, allocations: 239.8 kB / 0.5574 GB, free: 103.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000598/0.8386, allocations: 297 kB / 0.5576 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.8387, allocations: 2.438 kB / 0.5576 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.8387, allocations: 2.328 kB / 0.5576 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.8387, allocations: 11.44 kB / 0.5577 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00287/0.8416, allocations: 1.214 MB / 0.5588 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.842, allocations: 164.3 kB / 0.559 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.8423, allocations: 174.9 kB / 0.5592 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0103/0.8526, allocations: 9.246 MB / 0.5682 GB, free: 96.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002809/0.8529, allocations: 146.2 kB / 0.5683 GB, free: 96.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 3.287e-06/0.8529, allocations: 7.406 kB / 0.5683 GB, free: 96.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006886/0.8536, allocations: 283.5 kB / 0.5686 GB, free: 96.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.8537, allocations: 114.5 kB / 0.5687 GB, free: 96.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.855, allocations: 0.6958 MB / 0.5694 GB, free: 96.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.855, allocations: 29.67 kB / 0.5694 GB, free: 96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000415/0.8554, allocations: 462.8 kB / 0.5699 GB, free: 95.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.952e-05/0.8555, allocations: 69.25 kB / 0.5699 GB, free: 95.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.8555, allocations: 0 / 0.5699 GB, free: 95.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.948e-05/0.8556, allocations: 324 kB / 0.5702 GB, free: 95.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.8557, allocations: 62.91 kB / 0.5703 GB, free: 95.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.8559, allocations: 222.4 kB / 0.5705 GB, free: 95.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.8561, allocations: 90.41 kB / 0.5706 GB, free: 95.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.8562, allocations: 1.219 kB / 0.5706 GB, free: 95.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006812/0.8568, allocations: 368.7 kB / 0.571 GB, free: 95.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.8569, allocations: 6.812 kB / 0.571 GB, free: 95.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-05/0.8569, allocations: 23.91 kB / 0.571 GB, free: 95.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.8569, allocations: 8.562 kB / 0.571 GB, free: 95.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.8573, allocations: 96.97 kB / 0.5711 GB, free: 95.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.8573, allocations: 10.09 kB / 0.5711 GB, free: 95.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000564/0.8579, allocations: 68.52 kB / 0.5712 GB, free: 95.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.858, allocations: 25.69 kB / 0.5712 GB, free: 95.22 MB / 426.7 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 () * 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.000109/0.8581, allocations: 116.9 kB / 0.5713 GB, free: 95.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.8583, allocations: 107.6 kB / 0.5714 GB, free: 95.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008305/0.8591, allocations: 377.5 kB / 0.5718 GB, free: 95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.8591, allocations: 2.219 kB / 0.5718 GB, free: 95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.8591, allocations: 0.8125 kB / 0.5718 GB, free: 95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.8592, allocations: 1.062 kB / 0.5718 GB, free: 95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007093/0.8599, allocations: 0.5371 MB / 0.5723 GB, free: 94.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-05/0.8599, allocations: 20.56 kB / 0.5723 GB, free: 94.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.8602, allocations: 51.83 kB / 0.5724 GB, free: 94.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.8602, allocations: 6.984 kB / 0.5724 GB, free: 94.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.8602, allocations: 10.56 kB / 0.5724 GB, free: 94.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.8602, allocations: 6.688 kB / 0.5724 GB, free: 94.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.8602, allocations: 0 / 0.5724 GB, free: 94.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.8608, allocations: 372.6 kB / 0.5727 GB, free: 94.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/0.8611, allocations: 199.1 kB / 0.5729 GB, free: 94.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.8612, allocations: 6.953 kB / 0.5729 GB, free: 94.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.8616, allocations: 37.39 kB / 0.573 GB, free: 94.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.8617, allocations: 34.5 kB / 0.573 GB, free: 94.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.8617, allocations: 14.25 kB / 0.573 GB, free: 94.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006385/0.8624, allocations: 0.5342 MB / 0.5735 GB, free: 94.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8624, allocations: 0 / 0.5735 GB, free: 94.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008666/0.8632, allocations: 228.3 kB / 0.5738 GB, free: 94.32 MB / 426.7 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) * 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.001188/0.8644, allocations: 0.6248 MB / 0.5744 GB, free: 94.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004372/0.8649, allocations: 232.1 kB / 0.5746 GB, free: 94.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.8649, allocations: 0 / 0.5746 GB, free: 94.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.8651, allocations: 129.5 kB / 0.5747 GB, free: 94.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000766/0.8659, allocations: 163.2 kB / 0.5749 GB, free: 94.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.8678, allocations: 0.9609 MB / 0.5758 GB, free: 93.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.8682, allocations: 0.9792 MB / 0.5768 GB, free: 93.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004088/0.8686, allocations: 107.3 kB / 0.5769 GB, free: 93.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.8687, allocations: 49.84 kB / 0.5769 GB, free: 93.07 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.8687, allocations: 0 / 0.5769 GB, free: 93.07 MB / 426.7 MB Notification: Performance of Templates: time 0.01663/0.8854, allocations: 10.36 MB / 0.587 GB, free: 92.45 MB / 426.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches