Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00194/0.00194, allocations: 122.5 kB / 18.51 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002304/0.002304, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.609/1.609, allocations: 230.5 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 63.84 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1368, allocations: 53.33 MB / 427 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.2347/0.3714, allocations: 5.572 MB / 432.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02534/0.3968, allocations: 19.51 MB / 452.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.3978, allocations: 36.38 kB / 452.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00308/0.4009, allocations: 0.8293 MB / 452.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007459/0.4083, allocations: 1.603 MB / 454.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0064/0.4147, allocations: 1.307 MB / 455.9 MB, free: 9.508 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004227/0.4189, allocations: 1.824 MB / 457.7 MB, free: 8.816 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003236/0.4193, allocations: 107.6 kB / 457.8 MB, free: 8.746 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008432/0.4201, allocations: 371 kB / 458.2 MB, free: 8.598 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005517/0.4207, allocations: 367.9 kB / 458.5 MB, free: 8.418 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.343e-05/0.4207, allocations: 32.12 kB / 458.5 MB, free: 8.418 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006361/0.4271, allocations: 1.44 MB / 460 MB, free: 7.973 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003842/0.4275, allocations: 122.9 kB / 460.1 MB, free: 7.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.4286, allocations: 427.3 kB / 460.5 MB, free: 7.625 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006396/0.435, allocations: 1.61 MB / 462.1 MB, free: 6.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/0.435, allocations: 4 kB / 462.1 MB, free: 6.938 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.435, allocations: 1.031 kB / 462.1 MB, free: 6.938 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.595e-05/0.435, allocations: 7.938 kB / 462.1 MB, free: 6.93 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.003472/0.4385, allocations: 1.411 MB / 463.6 MB, free: 5.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.4386, allocations: 11.88 kB / 463.6 MB, free: 5.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.85e-05/0.4386, allocations: 62.42 kB / 463.6 MB, free: 5.875 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.4389, allocations: 126.5 kB / 463.7 MB, free: 5.805 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.4403, allocations: 0.7832 MB / 464.5 MB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.4403, allocations: 18.95 kB / 464.5 MB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.4404, allocations: 23.75 kB / 464.6 MB, free: 5.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000865/0.4412, allocations: 337.1 kB / 464.9 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4412, allocations: 1.312 kB / 464.9 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.4413, allocations: 9.344 kB / 464.9 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/0.4413, allocations: 13.52 kB / 464.9 MB, free: 5.102 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.4423, allocations: 341 kB / 465.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.4451, allocations: 1.244 MB / 466.5 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009223/0.446, allocations: 249.1 kB / 466.7 MB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005762/0.4466, allocations: 209.2 kB / 467 MB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/0.4574, allocations: 7.921 MB / 474.9 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006101/0.458, allocations: 211.9 kB / 475.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.164e-06/0.458, allocations: 0 / 475.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001618/0.4596, allocations: 495 kB / 475.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.4597, allocations: 59.72 kB / 475.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.4609, allocations: 0.8835 MB / 476.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.4609, allocations: 32 kB / 476.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005373/0.4615, allocations: 472.9 kB / 477 MB, free: 11.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.923e-05/0.4616, allocations: 56.73 kB / 477.1 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.4617, allocations: 89.81 kB / 477.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.4619, allocations: 321.6 kB / 477.5 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004115/0.4623, allocations: 119.4 kB / 477.6 MB, free: 10.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005405/0.4628, allocations: 258.3 kB / 477.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.4638, allocations: 388.4 kB / 478.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.4638, allocations: 2.344 kB / 478.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001282/0.4651, allocations: 0.5094 MB / 478.7 MB, free: 9.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.4651, allocations: 6.656 kB / 478.7 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.621e-05/0.4652, allocations: 20.25 kB / 478.7 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.4652, allocations: 7.094 kB / 478.7 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.4655, allocations: 84.28 kB / 478.8 MB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/0.4656, allocations: 18 kB / 478.8 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/0.4661, allocations: 61.95 kB / 478.9 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.241e-05/0.4662, allocations: 25.25 kB / 478.9 MB, free: 9.785 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.0004124/0.4666, allocations: 205.3 kB / 479.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.4668, allocations: 115.9 kB / 479.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.4681, allocations: 468.7 kB / 479.7 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4681, allocations: 6.438 kB / 479.7 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4681, allocations: 3.938 kB / 479.7 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4681, allocations: 0 / 479.7 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009204/0.469, allocations: 0.5609 MB / 480.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.974e-05/0.4691, allocations: 20.62 kB / 480.3 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.4693, allocations: 45.58 kB / 480.3 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.4693, allocations: 0 / 480.3 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.4693, allocations: 17.27 kB / 480.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4694, allocations: 3.094 kB / 480.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4694, allocations: 3.938 kB / 480.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.4704, allocations: 448.9 kB / 480.8 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003567/0.4708, allocations: 205.1 kB / 481 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.4709, allocations: 6.625 kB / 481 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.4712, allocations: 25.59 kB / 481 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.4713, allocations: 35.67 kB / 481.1 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.4714, allocations: 14.75 kB / 481.1 MB, free: 8.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001001/0.4724, allocations: 0.5853 MB / 481.7 MB, free: 7.988 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4724, allocations: 3.938 kB / 481.7 MB, free: 7.984 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008758/0.4732, allocations: 221.3 kB / 481.9 MB, free: 7.949 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.002338/0.4756, allocations: 1.367 MB / 483.3 MB, free: 6.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.4767, allocations: 334.4 kB / 483.6 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4767, allocations: 0 / 483.6 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006029/0.4773, allocations: 186.2 kB / 483.8 MB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009586/0.4782, allocations: 177 kB / 483.9 MB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.4885, allocations: 5.804 MB / 489.7 MB, free: 200 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006959/0.4892, allocations: 0.9563 MB / 490.7 MB, free: 15.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000354/0.4895, allocations: 104.5 kB / 490.8 MB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/0.49, allocations: 319.3 kB / 491.1 MB, free: 14.8 MB / 398.1 MB Notification: Performance of SimCode: time 1.202e-06/0.49, allocations: 0 / 491.1 MB, free: 14.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06246/0.5524, allocations: 22.38 MB / 0.5015 GB, free: 8.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.34, allocations: 7.859 kB / 0.5015 GB, free: 8.711 MB / 414.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv --start-time 0 --stop-time 1e-07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.0101e-09 Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.055171723943204] Failed to read output from testmodel.py, exit status != 0: ['time', 'VGS.p.v', 'M1.D.i'] 11.425444547086954 11.449470365 11.009661678 Calling exit ...