Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008238/0.0008239, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.223/1.223, allocations: 205.6 MB / 223.7 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007092/0.0007091, allocations: 90.44 kB / 272.1 MB, free: 8.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002435/0.0002437, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2112, allocations: 47.57 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.004448/0.2157, allocations: 4.71 MB / 381.3 MB, free: 41.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01387/0.2296, allocations: 18.88 MB / 400.2 MB, free: 24.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000943/0.2306, allocations: 11.94 kB / 400.2 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.2328, allocations: 0.7669 MB / 401 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003919/0.2368, allocations: 1.275 MB / 402.2 MB, free: 22.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.2391, allocations: 1.047 MB / 403.3 MB, free: 21.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002/0.2411, allocations: 1.671 MB / 405 MB, free: 19.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.2413, allocations: 153.8 kB / 405.1 MB, free: 19.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.2416, allocations: 294.5 kB / 405.4 MB, free: 19.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.2418, allocations: 345.8 kB / 405.7 MB, free: 18.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.36e-05/0.2419, allocations: 16 kB / 405.8 MB, free: 18.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.2442, allocations: 1.066 MB / 406.8 MB, free: 17.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.2442, allocations: 107.2 kB / 406.9 MB, free: 17.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002561/0.2445, allocations: 435 kB / 407.3 MB, free: 17.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.2461, allocations: 1.561 MB / 408.9 MB, free: 15.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2461, allocations: 0 / 408.9 MB, free: 15.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2461, allocations: 0 / 408.9 MB, free: 15.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.2461, allocations: 0 / 408.9 MB, free: 15.72 MB / 298.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.001533/0.2476, allocations: 1.258 MB / 410.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2477, allocations: 12.03 kB / 410.2 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.778e-05/0.2478, allocations: 114.6 kB / 410.3 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007515/0.2485, allocations: 0.7938 MB / 411.1 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.2486, allocations: 20.56 kB / 411.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.2486, allocations: 27.94 kB / 411.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.2493, allocations: 360.7 kB / 411.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2493, allocations: 0 / 411.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.2494, allocations: 4 kB / 411.5 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.2494, allocations: 12 kB / 411.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007817/0.2502, allocations: 386 kB / 411.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.2516, allocations: 1.246 MB / 413.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007312/0.2524, allocations: 302.6 kB / 413.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004481/0.2528, allocations: 252.9 kB / 413.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005219/0.2581, allocations: 7.793 MB / 421.5 MB, free: 1.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004576/0.2585, allocations: 232.5 kB / 421.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.873e-06/0.2586, allocations: 0 / 421.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.001183/0.2597, allocations: 0.5424 MB / 422.2 MB, free: 1.145 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.2598, allocations: 63.39 kB / 422.3 MB, free: 1.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007033/0.2605, allocations: 0.875 MB / 423.2 MB, free: 188 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.2605, allocations: 29.7 kB / 423.2 MB, free: 152 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.2609, allocations: 460.3 kB / 423.6 MB, free: 15.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/0.2609, allocations: 67.19 kB / 423.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.261, allocations: 8 kB / 423.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2611, allocations: 322 kB / 424 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.2615, allocations: 143.8 kB / 424.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004562/0.2619, allocations: 281.9 kB / 424.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000824/0.2627, allocations: 438.4 kB / 424.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.2628, allocations: 8 kB / 424.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001049/0.2638, allocations: 0.5329 MB / 425.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2639, allocations: 12.5 kB / 425.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.35e-05/0.2639, allocations: 23.98 kB / 425.5 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.2639, allocations: 12 kB / 425.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.2643, allocations: 91.88 kB / 425.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.2643, allocations: 11.94 kB / 425.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/0.2646, allocations: 63.66 kB / 425.6 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.2647, allocations: 23.98 kB / 425.6 MB, free: 13.54 MB / 314.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 () * 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.0002479/0.265, allocations: 213.7 kB / 425.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.2651, allocations: 110.6 kB / 426 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.2663, allocations: 0.5042 MB / 426.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2663, allocations: 3.984 kB / 426.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2664, allocations: 4 kB / 426.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2664, allocations: 3.984 kB / 426.5 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005854/0.267, allocations: 0.5672 MB / 427 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.539e-05/0.267, allocations: 19.94 kB / 427.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.2673, allocations: 56.02 kB / 427.1 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2673, allocations: 3.938 kB / 427.1 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.2673, allocations: 15.98 kB / 427.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2673, allocations: 0 / 427.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2673, allocations: 4 kB / 427.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009104/0.2682, allocations: 492.1 kB / 427.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.2685, allocations: 195.7 kB / 427.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.133e-05/0.2686, allocations: 0 / 427.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.2689, allocations: 39.97 kB / 427.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.803e-05/0.269, allocations: 35.89 kB / 427.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.269, allocations: 16 kB / 427.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006297/0.2696, allocations: 0.5844 MB / 428.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2696, allocations: 0 / 428.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005144/0.2702, allocations: 215.8 kB / 428.7 MB, free: 10.36 MB / 314.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) * 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.0006439/0.2708, allocations: 499.7 kB / 429.2 MB, free: 9.863 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009006/0.2717, allocations: 390.4 kB / 429.6 MB, free: 9.477 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2717, allocations: 0 / 429.6 MB, free: 9.477 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004336/0.2722, allocations: 205.7 kB / 429.8 MB, free: 9.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006084/0.2728, allocations: 139.1 kB / 429.9 MB, free: 9.137 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.2754, allocations: 1.777 MB / 431.7 MB, free: 7.328 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005686/0.276, allocations: 0.9644 MB / 432.7 MB, free: 6.336 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003472/0.2764, allocations: 98 kB / 432.7 MB, free: 6.238 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/0.2765, allocations: 51.44 kB / 432.8 MB, free: 6.188 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2765, allocations: 0 / 432.8 MB, free: 6.188 MB / 314.7 MB Notification: Performance of Templates: time 0.01904/0.2955, allocations: 12.22 MB / 445 MB, free: 9.957 MB / 330.7 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