Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.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.0007404/0.0007404, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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 0.8606/0.8606, allocations: 177.1 MB / 199.4 MB, free: 5.93 MB / 186.7 MB " [Timeout remaining time 179] 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.0009755/0.0009755, allocations: 160.6 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02289/0.02289, allocations: 6.667 MB / 319 MB, free: 26.75 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.SynchronousMachines.SMEE_Slip3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 445.4 MB, free: 37.58 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.466e-05, allocations: 9.031 kB / 445.4 MB, free: 37.57 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.0152/0.01522, allocations: 22.01 MB / 467.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.02711, allocations: 7.776 MB / 475.2 MB, free: 7.656 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00395/0.03106, allocations: 207 kB / 475.4 MB, free: 7.453 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006388/0.03745, allocations: 6.028 MB / 481.5 MB, free: 1.414 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006119/0.04357, allocations: 2.827 MB / 484.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.0465, allocations: 1.615 MB / 485.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.007249/0.05375, allocations: 7.637 MB / 493.5 MB, free: 5.297 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01042/0.06417, allocations: 9.011 MB / 0.4908 GB, free: 12.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006776/0.07094, allocations: 5.651 MB / 0.4963 GB, free: 6.496 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005063/0.07601, allocations: 3.621 MB / 0.4998 GB, free: 2.867 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002105/0.07811, allocations: 1.07 MB / 0.5009 GB, free: 1.797 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003032/0.08114, allocations: 1.452 MB / 0.5023 GB, free: 352 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001734/0.08288, allocations: 2.193 MB / 0.5044 GB, free: 14.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004844/0.08772, allocations: 2.76 MB / 0.5071 GB, free: 11.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.1009, allocations: 14.71 MB / 0.5215 GB, free: 12.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.1009, allocations: 0 / 0.5215 GB, free: 12.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1009, allocations: 0 / 0.5215 GB, free: 12.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003662/0.1012, allocations: 0 / 0.5215 GB, free: 12.63 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.01957/0.1208, allocations: 8.814 MB / 0.5301 GB, free: 3.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.1209, allocations: 8.031 kB / 0.5301 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002955/0.1238, allocations: 1.056 MB / 0.5311 GB, free: 2.668 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/0.1377, allocations: 4.417 MB / 0.5355 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008118/0.1458, allocations: 4.625 MB / 0.54 GB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/0.1461, allocations: 493.1 kB / 0.5404 GB, free: 9.074 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001852/0.148, allocations: 0.6327 MB / 0.5411 GB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/0.1641, allocations: 10.48 MB / 0.5513 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/0.1642, allocations: 11.95 kB / 0.5513 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005542/0.1648, allocations: 264 kB / 0.5516 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002729/0.165, allocations: 417.7 kB / 0.552 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01548/0.1805, allocations: 9.857 MB / 0.5616 GB, free: 3.305 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1928/0.3733, allocations: 30.79 MB / 0.5917 GB, free: 94.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006886/0.3802, allocations: 6.7 MB / 0.5982 GB, free: 88.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/0.3819, allocations: 2.104 MB / 0.6002 GB, free: 86.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.3821, allocations: 80.38 kB / 0.6003 GB, free: 86.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.3821, allocations: 64.89 kB / 0.6004 GB, free: 86.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 4.248e-06/0.3821, allocations: 0 / 0.6004 GB, free: 86.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=301): time 0.01239/0.3945, allocations: 10.82 MB / 0.6109 GB, free: 75.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.3946, allocations: 81.78 kB / 0.611 GB, free: 75.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/0.3973, allocations: 3.145 MB / 0.6141 GB, free: 72.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.3974, allocations: 73.7 kB / 0.6142 GB, free: 72.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007694/0.3982, allocations: 2.955 MB / 0.6171 GB, free: 69.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003943/0.3986, allocations: 1.075 MB / 0.6181 GB, free: 68.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007484/0.3994, allocations: 0.9099 MB / 0.619 GB, free: 67.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.372e-05/0.3994, allocations: 301.1 kB / 0.6193 GB, free: 67.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.401, allocations: 2.031 MB / 0.6213 GB, free: 65.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002081/0.4031, allocations: 3.759 MB / 0.6249 GB, free: 60.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004362/0.4075, allocations: 6.055 MB / 0.6308 GB, free: 53.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.144e-05/0.4075, allocations: 16 kB / 0.6309 GB, free: 53.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.007133/0.4147, allocations: 6.643 MB / 0.6374 GB, free: 47.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/0.4147, allocations: 30.66 kB / 0.6374 GB, free: 47.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.082e-05/0.4148, allocations: 56 kB / 0.6374 GB, free: 47.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.4159, allocations: 0.6743 MB / 0.6381 GB, free: 46.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/0.418, allocations: 1.072 MB / 0.6391 GB, free: 45.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004973/0.4229, allocations: 6.024 MB / 0.645 GB, free: 39.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.4254, allocations: 279.6 kB / 0.6453 GB, free: 38.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003147/0.4257, allocations: 236 kB / 0.6455 GB, free: 38.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * 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 (560): * Single equations (assignments): 559 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002615/0.4283, allocations: 2.312 MB / 0.6478 GB, free: 36.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005353/0.4288, allocations: 341.8 kB / 0.6481 GB, free: 36.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004464/0.4333, allocations: 4.614 MB / 0.6526 GB, free: 31.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.4333, allocations: 28 kB / 0.6526 GB, free: 31.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.4333, allocations: 11.98 kB / 0.6526 GB, free: 31.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.4333, allocations: 11.95 kB / 0.6527 GB, free: 31.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/0.4442, allocations: 10.58 MB / 0.663 GB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.4442, allocations: 4 kB / 0.663 GB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.4452, allocations: 0.5389 MB / 0.6635 GB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008725/0.4461, allocations: 0.5615 MB / 0.6641 GB, free: 19.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.4462, allocations: 71.97 kB / 0.6641 GB, free: 19.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003899/0.4501, allocations: 5.252 MB / 0.6693 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4501, allocations: 8 kB / 0.6693 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005846/0.456, allocations: 6.585 MB / 0.6757 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/0.4572, allocations: 0.6694 MB / 0.6764 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003151/0.4575, allocations: 60 kB / 0.6764 GB, free: 6.656 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008371/0.4583, allocations: 147.8 kB / 0.6766 GB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/0.4586, allocations: 213.9 kB / 0.6768 GB, free: 6.301 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.4587, allocations: 100 kB / 0.6769 GB, free: 6.203 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001788/0.4605, allocations: 2.017 MB / 0.6788 GB, free: 4.184 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4605, allocations: 0 / 0.6788 GB, free: 4.184 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0027/0.4632, allocations: 1.172 MB / 0.68 GB, free: 3.012 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * 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 (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006505/0.4697, allocations: 7.287 MB / 0.6871 GB, free: 11.56 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006049/0.4757, allocations: 4.827 MB / 0.6918 GB, free: 6.703 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.4757, allocations: 4 kB / 0.6918 GB, free: 6.699 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002428/0.4782, allocations: 2.106 MB / 0.6939 GB, free: 4.578 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.4804, allocations: 0.6448 MB / 0.6945 GB, free: 3.953 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0569/0.5373, allocations: 39.08 MB / 0.7327 GB, free: 10.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003657/0.541, allocations: 3.648 MB / 0.7362 GB, free: 7.145 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002739/0.5437, allocations: 1.322 MB / 0.7375 GB, free: 5.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003181/0.5469, allocations: 2.265 MB / 0.7397 GB, free: 3.555 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/0.5469, allocations: 4 kB / 0.7397 GB, free: 3.551 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2566/0.8035, allocations: 91.44 MB / 0.829 GB, free: 89.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.25, allocations: 0 / 0.829 GB, free: 89.57 MB / 490.7 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.64970710221678] Failed to read output from testmodel.py, exit status != 0: 11.375915788114071 11.381800293 11.2788765 Calling exit ...