Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001473/0.001473, allocations: 112.2 kB / 21.22 MB, free: 0.7422 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.001447/0.001447, allocations: 213.1 kB / 24.53 MB, free: 4.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.368/1.368, allocations: 230.6 MB / 258.3 MB, free: 7.992 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+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_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 39.94 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2452, allocations: 53.37 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006666/0.2519, allocations: 5.592 MB / 437.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02145/0.2733, allocations: 19.53 MB / 457 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009555/0.2743, allocations: 35.62 kB / 457.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002358/0.2766, allocations: 0.8388 MB / 457.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004779/0.2814, allocations: 1.606 MB / 459.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003709/0.2851, allocations: 1.332 MB / 460.8 MB, free: 9.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002978/0.2881, allocations: 1.825 MB / 462.7 MB, free: 7.996 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.2883, allocations: 110.2 kB / 462.8 MB, free: 7.871 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004894/0.2888, allocations: 370.4 kB / 463.1 MB, free: 7.508 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004672/0.2893, allocations: 373.8 kB / 463.5 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.113e-05/0.2894, allocations: 32 kB / 463.5 MB, free: 7.109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/0.2928, allocations: 1.444 MB / 465 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.2929, allocations: 111.3 kB / 465.1 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004516/0.2933, allocations: 433.3 kB / 465.5 MB, free: 5.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002728/0.2961, allocations: 1.619 MB / 467.1 MB, free: 3.504 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2961, allocations: 0 / 467.1 MB, free: 3.504 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2961, allocations: 0 / 467.1 MB, free: 3.504 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.2961, allocations: 0 / 467.1 MB, free: 3.504 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.002169/0.2983, allocations: 1.345 MB / 468.5 MB, free: 2.125 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2983, allocations: 11.97 kB / 468.5 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.939e-05/0.2983, allocations: 8.5 kB / 468.5 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.725e-05/0.2984, allocations: 58.53 kB / 468.6 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.2985, allocations: 131.1 kB / 468.7 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00099/0.2995, allocations: 0.711 MB / 469.4 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2995, allocations: 12.5 kB / 469.4 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.218e-05/0.2996, allocations: 24 kB / 469.4 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007292/0.3003, allocations: 336.8 kB / 469.8 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3003, allocations: 0 / 469.8 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.3004, allocations: 11.94 kB / 469.8 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.3004, allocations: 15.98 kB / 469.8 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008773/0.3013, allocations: 337.9 kB / 470.1 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.3032, allocations: 1.182 MB / 471.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008001/0.304, allocations: 254.5 kB / 471.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/0.3045, allocations: 213 kB / 471.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006705/0.3112, allocations: 3.657 MB / 475.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005367/0.3117, allocations: 202 kB / 475.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.3117, allocations: 4 kB / 475.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001379/0.3131, allocations: 499.1 kB / 476.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.3131, allocations: 59.33 kB / 476.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009994/0.3141, allocations: 0.8825 MB / 477 MB, free: 9.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.3142, allocations: 33.7 kB / 477.1 MB, free: 9.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003871/0.3146, allocations: 468.7 kB / 477.5 MB, free: 8.777 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/0.3146, allocations: 59.56 kB / 477.6 MB, free: 8.719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.3148, allocations: 85.39 kB / 477.7 MB, free: 8.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3149, allocations: 326 kB / 478 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.3153, allocations: 123.9 kB / 478.1 MB, free: 8.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/0.3158, allocations: 261.8 kB / 478.4 MB, free: 7.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008361/0.3166, allocations: 392.1 kB / 478.8 MB, free: 7.418 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3166, allocations: 0 / 478.8 MB, free: 7.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001081/0.3177, allocations: 0.5097 MB / 479.3 MB, free: 6.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3177, allocations: 4 kB / 479.3 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.6e-05/0.3177, allocations: 20 kB / 479.3 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3177, allocations: 8.562 kB / 479.3 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.3181, allocations: 95.81 kB / 479.4 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.3181, allocations: 15.92 kB / 479.4 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.3185, allocations: 51.75 kB / 479.5 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.3185, allocations: 20 kB / 479.5 MB, free: 6.691 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.0002675/0.3188, allocations: 217.6 kB / 479.7 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.3189, allocations: 119.2 kB / 479.8 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.3201, allocations: 463.5 kB / 480.3 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3201, allocations: 3.938 kB / 480.3 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3201, allocations: 3.938 kB / 480.3 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3201, allocations: 0 / 480.3 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00063/0.3207, allocations: 0.539 MB / 480.8 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.557e-05/0.3208, allocations: 20.06 kB / 480.8 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.321, allocations: 47.88 kB / 480.9 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.321, allocations: 0 / 480.9 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.321, allocations: 12 kB / 480.9 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.321, allocations: 4 kB / 480.9 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.321, allocations: 3.938 kB / 480.9 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009524/0.322, allocations: 445.6 kB / 481.3 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.3222, allocations: 135.1 kB / 481.5 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.683e-05/0.3223, allocations: 7.938 kB / 481.5 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.3226, allocations: 31.95 kB / 481.5 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.462e-05/0.3227, allocations: 27.95 kB / 481.5 MB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.449e-05/0.3228, allocations: 16 kB / 481.5 MB, free: 4.531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007174/0.3235, allocations: 0.592 MB / 482.1 MB, free: 3.934 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3235, allocations: 0 / 482.1 MB, free: 3.934 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006186/0.3241, allocations: 219.7 kB / 482.3 MB, free: 3.719 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.001893/0.326, allocations: 1.365 MB / 483.7 MB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009491/0.3269, allocations: 338.4 kB / 484 MB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3269, allocations: 0 / 484 MB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.3274, allocations: 173.5 kB / 484.2 MB, free: 1.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007537/0.3281, allocations: 168.7 kB / 484.4 MB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008722/0.3369, allocations: 5.809 MB / 490.2 MB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005826/0.3374, allocations: 0.9563 MB / 491.1 MB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003172/0.3378, allocations: 98.02 kB / 491.2 MB, free: 10.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003682/0.3381, allocations: 319.3 kB / 491.5 MB, free: 10.18 MB / 398.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3381, allocations: 0 / 491.5 MB, free: 10.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05019/0.3883, allocations: 22.69 MB / 0.5022 GB, free: 3.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/12.94, allocations: 0 / 0.5022 GB, free: 3.738 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.0101e-09 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.234971254016273] Failed to read output from testmodel.py, exit status != 0: ['time', 'VGS.p.v', 'M1.D.i'] 13.107399237982463 13.121592094 12.822457926 Calling exit ...