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.001623/0.001623, allocations: 113.3 kB / 18.4 MB, free: 4.699 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.001382/0.001382, allocations: 189.2 kB / 19.33 MB, free: 3.781 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.396/1.396, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001258/0.001258, allocations: 47.94 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09509/0.09636, allocations: 46.61 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.252/0.3484, allocations: 5.392 MB / 381.2 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02143/0.3699, allocations: 18.5 MB / 399.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.3713, allocations: 24.41 kB / 399.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003553/0.3749, allocations: 0.8021 MB / 400.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007967/0.3829, allocations: 1.564 MB / 402.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0077/0.3906, allocations: 1.254 MB / 403.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00512/0.3958, allocations: 1.757 MB / 405.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005102/0.3963, allocations: 176.2 kB / 405.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008437/0.3972, allocations: 333.5 kB / 405.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005193/0.3977, allocations: 361.8 kB / 405.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.927e-05/0.3978, allocations: 28.62 kB / 406 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005103/0.4029, allocations: 1.117 MB / 407.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.4031, allocations: 116.4 kB / 407.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004883/0.4036, allocations: 440.6 kB / 407.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003702/0.4073, allocations: 1.624 MB / 409.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4073, allocations: 0 / 409.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4073, allocations: 3.938 kB / 409.3 MB, free: 9.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.4074, allocations: 1.281 kB / 409.3 MB, free: 9.605 MB / 334.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.002591/0.41, allocations: 1.383 MB / 410.6 MB, free: 8.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.393e-05/0.41, allocations: 13.11 kB / 410.7 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.4102, allocations: 116.9 kB / 410.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.4114, allocations: 0.7783 MB / 411.6 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.4114, allocations: 18.47 kB / 411.6 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/0.4115, allocations: 30.86 kB / 411.6 MB, free: 7.926 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008682/0.4124, allocations: 334.8 kB / 411.9 MB, free: 7.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4124, allocations: 1.078 kB / 411.9 MB, free: 7.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/0.4125, allocations: 10.81 kB / 411.9 MB, free: 7.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.4125, allocations: 6.031 kB / 411.9 MB, free: 7.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009314/0.4134, allocations: 349 kB / 412.3 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.4157, allocations: 1.232 MB / 413.5 MB, free: 6.598 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008588/0.4165, allocations: 263.4 kB / 413.8 MB, free: 6.457 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005879/0.4171, allocations: 236.7 kB / 414 MB, free: 6.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008989/0.4261, allocations: 7.79 MB / 421.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006099/0.4268, allocations: 207.8 kB / 422 MB, free: 15.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 3.256e-06/0.4268, allocations: 0 / 422 MB, free: 15.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001502/0.4283, allocations: 491.1 kB / 422.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.4284, allocations: 62.14 kB / 422.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.4299, allocations: 0.8872 MB / 423.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.4299, allocations: 31.89 kB / 423.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005222/0.4305, allocations: 465.3 kB / 423.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.759e-05/0.4306, allocations: 59.16 kB / 424 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.4307, allocations: 87.97 kB / 424.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4309, allocations: 316.3 kB / 424.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/0.4313, allocations: 126.9 kB / 424.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005324/0.4318, allocations: 262.6 kB / 424.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008809/0.4327, allocations: 397.7 kB / 425.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4328, allocations: 0 / 425.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001303/0.4341, allocations: 0.5037 MB / 425.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.4341, allocations: 15.22 kB / 425.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-05/0.4342, allocations: 23.94 kB / 425.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.4342, allocations: 8 kB / 425.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.4346, allocations: 88.39 kB / 425.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.4346, allocations: 15.94 kB / 425.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.4351, allocations: 46.59 kB / 425.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/0.4352, allocations: 24 kB / 425.9 MB, free: 12.09 MB / 350.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.0003014/0.4355, allocations: 209.7 kB / 426.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.4356, allocations: 118.6 kB / 426.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.4369, allocations: 467.5 kB / 426.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.4369, allocations: 4 kB / 426.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4369, allocations: 0 / 426.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.4369, allocations: 3.984 kB / 426.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007443/0.4377, allocations: 0.5672 MB / 427.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.262e-05/0.4377, allocations: 20 kB / 427.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.438, allocations: 48.02 kB / 427.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-05/0.438, allocations: 3.938 kB / 427.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.4381, allocations: 12 kB / 427.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.4381, allocations: 2.5 kB / 427.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.4381, allocations: 3.984 kB / 427.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.4391, allocations: 442.6 kB / 427.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.4394, allocations: 199.6 kB / 427.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.4395, allocations: 11.98 kB / 427.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.4399, allocations: 27.97 kB / 428 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.44, allocations: 31.91 kB / 428 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.44, allocations: 19.98 kB / 428 MB, free: 9.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007602/0.4408, allocations: 0.5922 MB / 428.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4408, allocations: 0 / 428.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008243/0.4416, allocations: 219.8 kB / 428.8 MB, free: 8.992 MB / 350.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.0008097/0.4425, allocations: 486.9 kB / 429.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009609/0.4434, allocations: 350.3 kB / 429.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4434, allocations: 4.125 kB / 429.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004675/0.4439, allocations: 177.5 kB / 429.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/0.4446, allocations: 148.1 kB / 430 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.4469, allocations: 1.484 MB / 431.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.4475, allocations: 0.9602 MB / 432.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.4476, allocations: 55.44 kB / 432.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4476, allocations: 0 / 432.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of Templates: time 0.02002/0.4677, allocations: 12.47 MB / 444.9 MB, free: 8.781 MB / 366.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/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