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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 110.6 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 203.8 kB / 22.12 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 207.6 MB / 232.5 MB, free: 3.902 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 55.86 kB / 343 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09643/0.09818, allocations: 49.13 MB / 392.1 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.00706/0.1052, allocations: 5.422 MB / 397.5 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02174/0.127, allocations: 18.56 MB / 416.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009782/0.128, allocations: 35.62 kB / 416.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002481/0.1304, allocations: 0.8183 MB / 416.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005221/0.1357, allocations: 1.573 MB / 418.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004522/0.1402, allocations: 1.26 MB / 419.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003386/0.1436, allocations: 1.765 MB / 421.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002775/0.1439, allocations: 109.2 kB / 421.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004876/0.1443, allocations: 342.4 kB / 422 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004319/0.1448, allocations: 361.9 kB / 422.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.517e-05/0.1448, allocations: 32 kB / 422.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/0.1481, allocations: 1.113 MB / 423.5 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.1482, allocations: 123.2 kB / 423.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004353/0.1487, allocations: 433.3 kB / 424 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002571/0.1512, allocations: 1.634 MB / 425.7 MB, free: 7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1513, allocations: 0 / 425.7 MB, free: 7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1513, allocations: 0 / 425.7 MB, free: 7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.1513, allocations: 0 / 425.7 MB, free: 7 MB / 350.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.002302/0.1536, allocations: 1.428 MB / 427.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1536, allocations: 8.031 kB / 427.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.001e-05/0.1536, allocations: 12.55 kB / 427.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.055e-05/0.1537, allocations: 58.55 kB / 427.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.1539, allocations: 123.2 kB / 427.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.1549, allocations: 0.7833 MB / 428.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.155, allocations: 24.48 kB / 428.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.767e-05/0.155, allocations: 31.89 kB / 428.1 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008111/0.1558, allocations: 336.7 kB / 428.4 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1558, allocations: 3.984 kB / 428.5 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.1559, allocations: 12 kB / 428.5 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.1559, allocations: 11.98 kB / 428.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000951/0.1569, allocations: 334 kB / 428.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.159, allocations: 1.246 MB / 430 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008803/0.1598, allocations: 258.5 kB / 430.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005229/0.1604, allocations: 209 kB / 430.5 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00874/0.1691, allocations: 7.79 MB / 438.3 MB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005604/0.1697, allocations: 207.1 kB / 438.5 MB, free: 8.887 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.184e-06/0.1697, allocations: 4 kB / 438.5 MB, free: 8.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001431/0.1711, allocations: 0.4888 MB / 439 MB, free: 8.387 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.1712, allocations: 55.39 kB / 439 MB, free: 8.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.1722, allocations: 0.8867 MB / 439.9 MB, free: 7.422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.1723, allocations: 29.7 kB / 440 MB, free: 7.387 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/0.1727, allocations: 472.8 kB / 440.4 MB, free: 6.922 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.095e-05/0.1727, allocations: 59.53 kB / 440.5 MB, free: 6.863 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.1729, allocations: 93.53 kB / 440.6 MB, free: 6.766 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.173, allocations: 318 kB / 440.9 MB, free: 6.449 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/0.1734, allocations: 119.9 kB / 441 MB, free: 6.332 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/0.1739, allocations: 265.8 kB / 441.3 MB, free: 6.008 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008781/0.1748, allocations: 397.5 kB / 441.6 MB, free: 5.555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1748, allocations: 0 / 441.6 MB, free: 5.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001128/0.1759, allocations: 0.5003 MB / 442.1 MB, free: 5.047 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1759, allocations: 8 kB / 442.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.781e-05/0.176, allocations: 20.56 kB / 442.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.176, allocations: 11.98 kB / 442.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.1764, allocations: 91.81 kB / 442.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.1764, allocations: 8 kB / 442.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.1768, allocations: 47.75 kB / 442.3 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/0.1768, allocations: 24 kB / 442.4 MB, free: 4.84 MB / 366.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.0002827/0.1771, allocations: 213.6 kB / 442.6 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.1773, allocations: 123.2 kB / 442.7 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.1785, allocations: 463.6 kB / 443.1 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1785, allocations: 4 kB / 443.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1785, allocations: 0 / 443.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1786, allocations: 3.984 kB / 443.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006686/0.1792, allocations: 0.5711 MB / 443.7 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.602e-05/0.1792, allocations: 19.94 kB / 443.7 MB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.1795, allocations: 51.89 kB / 443.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1795, allocations: 3.938 kB / 443.8 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.1795, allocations: 11.98 kB / 443.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1795, allocations: 0 / 443.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1795, allocations: 0 / 443.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.1806, allocations: 451.3 kB / 444.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.1808, allocations: 200.4 kB / 444.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.306e-05/0.1809, allocations: 11.98 kB / 444.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.1812, allocations: 23.97 kB / 444.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.1813, allocations: 39.84 kB / 444.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.1813, allocations: 15.98 kB / 444.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007542/0.1821, allocations: 0.5922 MB / 445.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1821, allocations: 0 / 445.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000658/0.1828, allocations: 223.6 kB / 445.3 MB, free: 1.727 MB / 366.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.002096/0.1848, allocations: 1.372 MB / 446.7 MB, free: 328 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.1859, allocations: 335.3 kB / 447 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1859, allocations: 0 / 447 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004857/0.1864, allocations: 169.9 kB / 447.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006274/0.187, allocations: 156.4 kB / 447.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009194/0.1962, allocations: 5.823 MB / 453.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/0.1968, allocations: 0.9564 MB / 454.1 MB, free: 8.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003125/0.1971, allocations: 106 kB / 454.2 MB, free: 8.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/0.1975, allocations: 319.3 kB / 454.5 MB, free: 8.176 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1975, allocations: 0 / 454.5 MB, free: 8.176 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2294/0.4269, allocations: 22.49 MB / 477 MB, free: 63.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.53, allocations: 17.69 kB / 477.1 MB, free: 63.87 MB / 382.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.0101e-09 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.935300673998427] Failed to read output from testmodel.py, exit status != 0: ['time', 'VGS.p.v', 'M1.D.i'] 10.673114536970388 10.689761651 10.535072523 Calling exit ...