Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.001329/0.001329, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.002323/0.002323, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.429/1.429, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",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.001928/0.001928, allocations: 75.81 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1051, allocations: 53.31 MB / 426.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.2237/0.3288, allocations: 8.137 MB / 435 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004367/0.3331, allocations: 2.673 MB / 437.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.3345, allocations: 23.19 kB / 437.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002085/0.3366, allocations: 0.5712 MB / 438.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.3383, allocations: 0.494 MB / 438.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.3388, allocations: 255.9 kB / 439 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001742/0.3406, allocations: 1.468 MB / 440.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006046/0.3412, allocations: 406.8 kB / 440.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000728/0.3419, allocations: 0.5623 MB / 441.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006373/0.3426, allocations: 0.5974 MB / 442.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.3427, allocations: 138.9 kB / 442.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.3431, allocations: 178.2 kB / 442.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.3432, allocations: 278.5 kB / 442.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000544/0.3438, allocations: 0.6631 MB / 443.3 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.346, allocations: 1.73 MB / 445 MB, free: 2.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.346, allocations: 0.5625 kB / 445 MB, free: 2.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.346, allocations: 0.625 kB / 445 MB, free: 2.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.037e-05/0.3461, allocations: 3.938 kB / 445 MB, free: 2.586 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002588/0.3486, allocations: 1.479 MB / 446.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3487, allocations: 13.84 kB / 446.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.3489, allocations: 148 kB / 446.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006583/0.3495, allocations: 189.9 kB / 446.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.3507, allocations: 0.7535 MB / 447.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.3508, allocations: 73.62 kB / 447.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.3509, allocations: 100.5 kB / 447.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.3523, allocations: 0.9342 MB / 448.7 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.3523, allocations: 2.219 kB / 448.7 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.819e-05/0.3524, allocations: 40.75 kB / 448.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.3524, allocations: 24 kB / 448.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.3536, allocations: 0.6384 MB / 449.4 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005833/0.3594, allocations: 3.901 MB / 453.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/0.3601, allocations: 413.2 kB / 453.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005874/0.3607, allocations: 247.2 kB / 454 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.3607, allocations: 9.969 kB / 454 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.3608, allocations: 37.8 kB / 454 MB, free: 13.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.254e-06/0.3608, allocations: 1.094 kB / 454 MB, free: 13.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002879/0.3637, allocations: 1.41 MB / 455.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.738e-05/0.3638, allocations: 81.23 kB / 455.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.3649, allocations: 0.8277 MB / 456.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.3649, allocations: 33.52 kB / 456.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004571/0.3654, allocations: 0.5715 MB / 456.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.3655, allocations: 165.6 kB / 457.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.3657, allocations: 134 kB / 457.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3659, allocations: 333.1 kB / 457.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003129/0.3662, allocations: 167.7 kB / 457.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.3667, allocations: 459.3 kB / 458.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009219/0.3677, allocations: 0.667 MB / 458.8 MB, free: 9.637 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3677, allocations: 4.031 kB / 458.8 MB, free: 9.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001368/0.369, allocations: 0.7637 MB / 459.6 MB, free: 9.289 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.3691, allocations: 9.344 kB / 459.6 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.3691, allocations: 10.03 kB / 459.6 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002795/0.3693, allocations: 85.47 kB / 459.7 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.3698, allocations: 156 kB / 459.9 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002837/0.3727, allocations: 3.134 MB / 463 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006168/0.3733, allocations: 37.58 kB / 463 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.416e-05/0.3733, allocations: 39.33 kB / 463.1 MB, free: 6.066 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004264/0.3738, allocations: 264.6 kB / 463.3 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.3739, allocations: 90.31 kB / 463.4 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009577/0.3749, allocations: 489.4 kB / 463.9 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3749, allocations: 5.188 kB / 463.9 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/0.3749, allocations: 5.156 kB / 463.9 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3749, allocations: 9.172 kB / 463.9 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.3772, allocations: 1.436 MB / 465.4 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3772, allocations: 2.312 kB / 465.4 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.3775, allocations: 73.86 kB / 465.4 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001958/0.3777, allocations: 68.25 kB / 465.5 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.3777, allocations: 17.39 kB / 465.5 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002525/0.3803, allocations: 3.13 MB / 468.6 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.3803, allocations: 6.219 kB / 468.6 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.3815, allocations: 0.7687 MB / 469.4 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/0.3819, allocations: 206 kB / 469.6 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.871e-05/0.382, allocations: 12.34 kB / 469.6 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.3824, allocations: 26.5 kB / 469.7 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.3825, allocations: 34.5 kB / 469.7 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.3825, allocations: 14.94 kB / 469.7 MB, free: 444 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008105/0.3833, allocations: 0.5643 MB / 470.3 MB, free: 112 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3833, allocations: 0 / 470.3 MB, free: 112 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.000935/0.3843, allocations: 201.6 kB / 470.5 MB, free: 96 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001658/0.3859, allocations: 1.345 MB / 471.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.3872, allocations: 0.669 MB / 472.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3872, allocations: 1.312 kB / 472.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006789/0.3879, allocations: 440.3 kB / 472.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.389, allocations: 225.2 kB / 473.1 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.4003, allocations: 7.311 MB / 480.4 MB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007182/0.401, allocations: 1.003 MB / 481.4 MB, free: 8.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004761/0.4015, allocations: 106.2 kB / 481.5 MB, free: 8.309 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004836/0.4019, allocations: 374 kB / 481.9 MB, free: 7.988 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4019, allocations: 0 / 481.9 MB, free: 7.988 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06061/0.4626, allocations: 19.24 MB / 0.4894 GB, free: 5.133 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.92, allocations: 11.81 kB / 0.4894 GB, free: 5.125 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.314453180879354] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcse.la.i', 'loadInertia.phi', 'loadInertia.w'] 12.012191790156066 12.037204777 11.68643448 Calling exit ...