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.001526/0.001526, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.38/1.38, allocations: 230.6 MB / 252.7 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] 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.001543/0.001543, allocations: 213.8 kB / 309.2 MB, free: 2.93 MB / 238.1 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.04036/0.04036, allocations: 8.917 MB / 374.6 MB, free: 1.707 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 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.002482/0.002482, allocations: 91.86 kB / 0.4892 GB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2624, allocations: 55.59 MB / 0.5435 GB, free: 26.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.01846/0.2809, allocations: 21.98 MB / 0.5649 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01466/0.2956, allocations: 7.775 MB / 0.5725 GB, free: 6.617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004977/0.3006, allocations: 205.1 kB / 0.5727 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01332/0.3139, allocations: 5.717 MB / 0.5783 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009564/0.3234, allocations: 2.775 MB / 0.581 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004566/0.328, allocations: 1.591 MB / 0.5826 GB, free: 448 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01201/0.34, allocations: 7.397 MB / 0.5898 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01619/0.3562, allocations: 8.992 MB / 0.5986 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006888/0.3631, allocations: 3.841 MB / 0.6023 GB, free: 444 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007543/0.3706, allocations: 4.036 MB / 0.6063 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002616/0.3733, allocations: 1.074 MB / 0.6073 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004533/0.3778, allocations: 1.441 MB / 0.6087 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003255/0.381, allocations: 2.155 MB / 0.6108 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006842/0.3879, allocations: 3.21 MB / 0.614 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01975/0.4076, allocations: 14.55 MB / 0.6282 GB, free: 5.883 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4076, allocations: 4 kB / 0.6282 GB, free: 5.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4076, allocations: 0 / 0.6282 GB, free: 5.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003929/0.408, allocations: 4 kB / 0.6282 GB, free: 5.875 MB / 430.1 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.02784/0.4359, allocations: 8.881 MB / 0.6369 GB, free: 12.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.4359, allocations: 8.031 kB / 0.6369 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004037/0.44, allocations: 1.041 MB / 0.6379 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02614/0.4661, allocations: 4.421 MB / 0.6422 GB, free: 7.434 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/0.4779, allocations: 4.633 MB / 0.6467 GB, free: 2.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006623/0.4786, allocations: 485.1 kB / 0.6472 GB, free: 2.273 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002458/0.4811, allocations: 0.6288 MB / 0.6478 GB, free: 1.645 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02735/0.5084, allocations: 10.49 MB / 0.658 GB, free: 7.055 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000418/0.5088, allocations: 11.94 kB / 0.6581 GB, free: 7.043 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002169/0.511, allocations: 268 kB / 0.6583 GB, free: 6.781 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005539/0.5115, allocations: 421.7 kB / 0.6587 GB, free: 6.367 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02199/0.5335, allocations: 9.86 MB / 0.6683 GB, free: 12.49 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2696/0.8031, allocations: 30.77 MB / 0.6984 GB, free: 101.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/0.8159, allocations: 6.704 MB / 0.7049 GB, free: 101.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002896/0.8188, allocations: 2.102 MB / 0.707 GB, free: 101.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003248/0.8191, allocations: 82.8 kB / 0.7071 GB, free: 101.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.8192, allocations: 64.08 kB / 0.7071 GB, free: 101.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 6.612e-06/0.8192, allocations: 0 / 0.7071 GB, free: 101.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.02085/0.8401, allocations: 10.82 MB / 0.7177 GB, free: 98.24 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.8401, allocations: 81.62 kB / 0.7178 GB, free: 98.17 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006051/0.8461, allocations: 3.135 MB / 0.7208 GB, free: 96.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003753/0.8465, allocations: 71.02 kB / 0.7209 GB, free: 96.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002163/0.8487, allocations: 2.974 MB / 0.7238 GB, free: 95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001118/0.8498, allocations: 1.083 MB / 0.7249 GB, free: 94.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001935/0.8517, allocations: 0.9184 MB / 0.7258 GB, free: 93.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.8518, allocations: 307.2 kB / 0.7261 GB, free: 93.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003322/0.8551, allocations: 2.028 MB / 0.728 GB, free: 92.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003849/0.859, allocations: 3.756 MB / 0.7317 GB, free: 89.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007034/0.866, allocations: 6.06 MB / 0.7376 GB, free: 85.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/0.8661, allocations: 20.12 kB / 0.7376 GB, free: 85.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01044/0.8765, allocations: 6.642 MB / 0.7441 GB, free: 82.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.817e-05/0.8766, allocations: 33.72 kB / 0.7442 GB, free: 82.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.93e-05/0.8767, allocations: 55.02 kB / 0.7442 GB, free: 82.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/0.8784, allocations: 0.671 MB / 0.7449 GB, free: 82.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003348/0.8817, allocations: 1.081 MB / 0.7459 GB, free: 82.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00725/0.889, allocations: 6.028 MB / 0.7518 GB, free: 79.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003683/0.8927, allocations: 274.3 kB / 0.7521 GB, free: 78.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006606/0.8933, allocations: 234.6 kB / 0.7523 GB, free: 78.91 MB / 494.1 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.003844/0.8972, allocations: 2.323 MB / 0.7546 GB, free: 77.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009303/0.8981, allocations: 336.8 kB / 0.7549 GB, free: 77.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007408/0.9055, allocations: 4.607 MB / 0.7594 GB, free: 75.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.9055, allocations: 32 kB / 0.7594 GB, free: 75.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.9055, allocations: 4 kB / 0.7594 GB, free: 75.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-05/0.9056, allocations: 15.94 kB / 0.7594 GB, free: 75.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0263/0.9319, allocations: 10.57 MB / 0.7698 GB, free: 64.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-05/0.9319, allocations: 4 kB / 0.7698 GB, free: 64.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003069/0.935, allocations: 0.5344 MB / 0.7703 GB, free: 64.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00226/0.9372, allocations: 0.566 MB / 0.7708 GB, free: 63.51 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004539/0.9377, allocations: 75.91 kB / 0.7709 GB, free: 63.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008614/0.9463, allocations: 5.268 MB / 0.7761 GB, free: 58.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.9463, allocations: 4 kB / 0.7761 GB, free: 58.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008123/0.9544, allocations: 6.605 MB / 0.7825 GB, free: 51.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/0.9563, allocations: 0.6693 MB / 0.7832 GB, free: 50.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006177/0.9569, allocations: 56 kB / 0.7832 GB, free: 50.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/0.9587, allocations: 143.8 kB / 0.7833 GB, free: 50.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003516/0.959, allocations: 225.8 kB / 0.7836 GB, free: 50.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.9592, allocations: 91.98 kB / 0.7837 GB, free: 50.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002421/0.9616, allocations: 2.017 MB / 0.7856 GB, free: 48.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9616, allocations: 0 / 0.7856 GB, free: 48.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003988/0.9656, allocations: 1.176 MB / 0.7868 GB, free: 46.93 MB / 494.1 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.008184/0.9738, allocations: 7.272 MB / 0.7939 GB, free: 39.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00708/0.9808, allocations: 4.835 MB / 0.7986 GB, free: 34.62 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.9808, allocations: 0 / 0.7986 GB, free: 34.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00336/0.9842, allocations: 2.11 MB / 0.8007 GB, free: 32.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003326/0.9875, allocations: 0.6522 MB / 0.8013 GB, free: 31.87 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06067/1.048, allocations: 39.05 MB / 0.8394 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006505/1.055, allocations: 3.656 MB / 0.843 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004113/1.059, allocations: 1.322 MB / 0.8443 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004086/1.063, allocations: 2.264 MB / 0.8465 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of SimCode: time 1.313e-06/1.063, allocations: 0 / 0.8465 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.387/1.45, allocations: 91.58 MB / 0.9359 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/16.93, allocations: 4.562 kB / 0.9359 GB, free: 176.4 MB / 0.5606 GB " [Timeout remaining time 643] (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: 20.171048535965383] Failed to read output from testmodel.py, exit status != 0: 17.0875529833138 17.099698383 16.689343529 Calling exit ...