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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 112.8 kB / 18.49 MB, free: 4.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 193 kB / 21.44 MB, free: 1.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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) 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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 51.92 kB / 366.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1016, allocations: 52.14 MB / 418.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006745/0.1083, allocations: 5.567 MB / 424 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02149/0.1298, allocations: 19.48 MB / 443.5 MB, free: 3.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008536/0.1307, allocations: 35.62 kB / 443.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002301/0.133, allocations: 0.83 MB / 444.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004778/0.1377, allocations: 1.607 MB / 446 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.193/0.3307, allocations: 1.305 MB / 447.3 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002644/0.3334, allocations: 1.797 MB / 449.1 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.3336, allocations: 110 kB / 449.2 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003912/0.334, allocations: 363.5 kB / 449.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/0.3343, allocations: 372.9 kB / 449.9 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.681e-05/0.3344, allocations: 32.31 kB / 450 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004096/0.3385, allocations: 1.436 MB / 451.4 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.3386, allocations: 112.7 kB / 451.5 MB, free: 9.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003776/0.339, allocations: 433.4 kB / 451.9 MB, free: 9.246 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002691/0.3417, allocations: 1.613 MB / 453.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3417, allocations: 0.5625 kB / 453.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3417, allocations: 0.5625 kB / 453.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.3417, allocations: 0 / 453.5 MB, free: 9.012 MB / 366.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.002376/0.3441, allocations: 1.418 MB / 455 MB, free: 8.105 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3441, allocations: 10.53 kB / 455 MB, free: 8.105 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.307e-05/0.3441, allocations: 7.375 kB / 455 MB, free: 8.105 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.752e-05/0.3442, allocations: 60.95 kB / 455 MB, free: 8.066 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.3443, allocations: 126.5 kB / 455.2 MB, free: 8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009303/0.3453, allocations: 0.7911 MB / 455.9 MB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.3453, allocations: 20.05 kB / 456 MB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.054e-05/0.3454, allocations: 23.17 kB / 456 MB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007659/0.3461, allocations: 335.1 kB / 456.3 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3461, allocations: 1.688 kB / 456.3 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.3462, allocations: 10.41 kB / 456.3 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.3462, allocations: 13.73 kB / 456.3 MB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009122/0.3471, allocations: 339.2 kB / 456.7 MB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.349, allocations: 1.249 MB / 457.9 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008025/0.3498, allocations: 244.6 kB / 458.2 MB, free: 7.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/0.3503, allocations: 213.9 kB / 458.4 MB, free: 7.074 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00722/0.3575, allocations: 7.757 MB / 466.1 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006463/0.3581, allocations: 203.8 kB / 466.3 MB, free: 17.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.524e-06/0.3581, allocations: 4 kB / 466.3 MB, free: 17.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001473/0.3596, allocations: 491.8 kB / 466.8 MB, free: 17.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.3597, allocations: 62.75 kB / 466.9 MB, free: 17.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.3608, allocations: 0.878 MB / 467.7 MB, free: 17.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.3608, allocations: 31.53 kB / 467.8 MB, free: 17.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/0.3611, allocations: 469.2 kB / 468.2 MB, free: 17.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/0.3612, allocations: 72.42 kB / 468.3 MB, free: 17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.3613, allocations: 82.97 kB / 468.4 MB, free: 16.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3614, allocations: 324 kB / 468.7 MB, free: 16.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.3618, allocations: 125.7 kB / 468.8 MB, free: 16.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.3623, allocations: 260.4 kB / 469.1 MB, free: 16.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008158/0.3631, allocations: 394 kB / 469.5 MB, free: 16.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.3631, allocations: 2.219 kB / 469.5 MB, free: 16.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001167/0.3642, allocations: 0.4977 MB / 470 MB, free: 16.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.3643, allocations: 11.62 kB / 470 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-05/0.3643, allocations: 20.66 kB / 470 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.3643, allocations: 8.266 kB / 470 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.3647, allocations: 85.38 kB / 470.1 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.3647, allocations: 11.31 kB / 470.1 MB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004968/0.3652, allocations: 55.41 kB / 470.2 MB, free: 16.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.536e-05/0.3653, allocations: 22.03 kB / 470.2 MB, free: 16.19 MB / 382.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.0002801/0.3655, allocations: 216.7 kB / 470.4 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.3657, allocations: 115.8 kB / 470.5 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.3669, allocations: 466.2 kB / 471 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3669, allocations: 1.219 kB / 471 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3669, allocations: 1.125 kB / 471 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3669, allocations: 3.797 kB / 471 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007283/0.3676, allocations: 0.5754 MB / 471.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-05/0.3676, allocations: 21.12 kB / 471.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.3679, allocations: 42.38 kB / 471.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3679, allocations: 0 / 471.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.3679, allocations: 15.78 kB / 471.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3679, allocations: 1.656 kB / 471.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3679, allocations: 7.688 kB / 471.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009516/0.3689, allocations: 442.2 kB / 472.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003408/0.3692, allocations: 207.1 kB / 472.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.3694, allocations: 13.02 kB / 472.3 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.3697, allocations: 28.44 kB / 472.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.416e-05/0.3698, allocations: 28.25 kB / 472.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.3699, allocations: 21.28 kB / 472.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007285/0.3706, allocations: 0.5912 MB / 472.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3706, allocations: 0 / 472.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008518/0.3714, allocations: 224.2 kB / 473.2 MB, free: 14.98 MB / 382.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.002238/0.3737, allocations: 1.36 MB / 474.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009804/0.3747, allocations: 334.6 kB / 474.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3747, allocations: 1.031 kB / 474.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004634/0.3751, allocations: 170.3 kB / 475 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008637/0.376, allocations: 174 kB / 475.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009624/0.3856, allocations: 5.826 MB / 481 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.3861, allocations: 0.9568 MB / 482 MB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002914/0.3864, allocations: 100 kB / 482.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/0.3868, allocations: 324.6 kB / 482.4 MB, free: 10 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3868, allocations: 0 / 482.4 MB, free: 10 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04923/0.436, allocations: 22.37 MB / 0.4929 GB, free: 7.484 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.902/10.34, allocations: 8.562 kB / 0.4929 GB, free: 7.477 MB / 398.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.0101e-09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.616074033023324] Failed to read output from testmodel.py, exit status != 0: ['time', 'VGS.p.v', 'M1.D.i'] 10.473921766970307 10.487323622 10.142757277 Calling exit ...