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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 244.8 MB, free: 14.15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 209.3 kB / 299.8 MB, free: 9.816 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04277/0.04277, allocations: 8.933 MB / 363.6 MB, free: 10.17 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002331/0.002331, allocations: 84.62 kB / 486.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09742/0.09975, allocations: 54.42 MB / 0.5279 GB, free: 1.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.02969/0.1294, allocations: 25.52 MB / 0.5528 GB, free: 7.633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.017/0.1464, allocations: 8.049 MB / 0.5606 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004865/0.1513, allocations: 179.4 kB / 0.5608 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01578/0.1671, allocations: 6.159 MB / 0.5668 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009189/0.1763, allocations: 2.797 MB / 0.5696 GB, free: 6.398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005417/0.1817, allocations: 1.615 MB / 0.5711 GB, free: 4.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01156/0.1932, allocations: 7.286 MB / 0.5782 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01838/0.2116, allocations: 10.13 MB / 0.5881 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006309/0.2179, allocations: 3.752 MB / 0.5918 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007087/0.225, allocations: 4.271 MB / 0.596 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002745/0.2278, allocations: 1.07 MB / 0.597 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003985/0.2318, allocations: 1.437 MB / 0.5984 GB, free: 8.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002994/0.2347, allocations: 2.143 MB / 0.6005 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006485/0.2412, allocations: 4.113 MB / 0.6045 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01676/0.258, allocations: 14.47 MB / 0.6187 GB, free: 3.863 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.258, allocations: 0 / 0.6187 GB, free: 3.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.258, allocations: 0 / 0.6187 GB, free: 3.863 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000296/0.2583, allocations: 0 / 0.6187 GB, free: 3.863 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.02453/0.2828, allocations: 8.933 MB / 0.6274 GB, free: 10.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.2829, allocations: 12.03 kB / 0.6274 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002986/0.2859, allocations: 1.044 MB / 0.6284 GB, free: 9.766 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02552/0.3114, allocations: 4.44 MB / 0.6328 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01241/0.3238, allocations: 4.63 MB / 0.6373 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005675/0.3243, allocations: 489.1 kB / 0.6377 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2086/0.5329, allocations: 0.622 MB / 0.6384 GB, free: 86.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02452/0.5574, allocations: 10.36 MB / 0.6485 GB, free: 83.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000273/0.5577, allocations: 16 kB / 0.6485 GB, free: 83.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001598/0.5593, allocations: 262.8 kB / 0.6487 GB, free: 83.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003345/0.5596, allocations: 421.3 kB / 0.6491 GB, free: 83.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01686/0.5765, allocations: 9.876 MB / 0.6588 GB, free: 78.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04822/0.6247, allocations: 35.4 MB / 0.6934 GB, free: 43.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01355/0.6383, allocations: 20.38 MB / 0.7133 GB, free: 20.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002989/0.6413, allocations: 2.111 MB / 0.7153 GB, free: 18.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/0.6416, allocations: 231.9 kB / 0.7155 GB, free: 18.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.6416, allocations: 60.89 kB / 0.7156 GB, free: 18.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=295): time 5.73e-06/0.6416, allocations: 0 / 0.7156 GB, free: 18.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=301): time 0.01852/0.6602, allocations: 10.93 MB / 0.7263 GB, free: 7.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.6602, allocations: 81.78 kB / 0.7264 GB, free: 7.605 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004099/0.6643, allocations: 3.03 MB / 0.7293 GB, free: 4.598 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002911/0.6646, allocations: 77.7 kB / 0.7294 GB, free: 4.516 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.6658, allocations: 2.968 MB / 0.7323 GB, free: 1.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007375/0.6666, allocations: 1.08 MB / 0.7333 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/0.6681, allocations: 0.9099 MB / 0.7342 GB, free: 15.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.6682, allocations: 305.1 kB / 0.7345 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003467/0.6717, allocations: 2.02 MB / 0.7365 GB, free: 13.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005075/0.6768, allocations: 3.728 MB / 0.7401 GB, free: 8.844 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008926/0.6857, allocations: 6.047 MB / 0.746 GB, free: 1.996 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-05/0.6857, allocations: 16 kB / 0.7461 GB, free: 1.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01273/0.6985, allocations: 6.633 MB / 0.7525 GB, free: 11.31 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.498e-05/0.6986, allocations: 32.03 kB / 0.7526 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/0.6987, allocations: 59.94 kB / 0.7526 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001923/0.7006, allocations: 0.6638 MB / 0.7533 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004001/0.7046, allocations: 1.069 MB / 0.7543 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009509/0.7141, allocations: 6.224 MB / 0.7604 GB, free: 3.117 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003376/0.7175, allocations: 279.7 kB / 0.7607 GB, free: 2.844 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008094/0.7183, allocations: 232 kB / 0.7609 GB, free: 2.617 MB / 478.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.004652/0.7229, allocations: 2.319 MB / 0.7631 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/0.724, allocations: 337.9 kB / 0.7635 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009467/0.7335, allocations: 4.614 MB / 0.768 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.136e-05/0.7336, allocations: 39.92 kB / 0.768 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/0.7336, allocations: 4 kB / 0.768 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.57e-05/0.7336, allocations: 11.95 kB / 0.768 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0246/0.7582, allocations: 11.08 MB / 0.7788 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-05/0.7582, allocations: 7.938 kB / 0.7789 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/0.7607, allocations: 0.5306 MB / 0.7794 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001699/0.7624, allocations: 0.5705 MB / 0.7799 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003669/0.7628, allocations: 67.98 kB / 0.78 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008523/0.7713, allocations: 5.47 MB / 0.7853 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/0.7713, allocations: 7.938 kB / 0.7853 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/0.784, allocations: 6.573 MB / 0.7918 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002528/0.7865, allocations: 0.7407 MB / 0.7925 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001084/0.7876, allocations: 60.06 kB / 0.7925 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002414/0.79, allocations: 151.8 kB / 0.7927 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007066/0.7907, allocations: 206 kB / 0.7929 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004066/0.7911, allocations: 87.98 kB / 0.793 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004612/0.7957, allocations: 2.021 MB / 0.7949 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7957, allocations: 0 / 0.7949 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005948/0.8017, allocations: 1.176 MB / 0.7961 GB, free: 14.07 MB / 0.5137 GB 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.01453/0.8162, allocations: 7.259 MB / 0.8032 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009856/0.8261, allocations: 4.83 MB / 0.8079 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.8261, allocations: 6 kB / 0.8079 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004383/0.8305, allocations: 2.109 MB / 0.81 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004382/0.8348, allocations: 0.638 MB / 0.8106 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08186/0.9167, allocations: 39.02 MB / 0.8487 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007152/0.9239, allocations: 4.15 MB / 0.8527 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005262/0.9291, allocations: 1.33 MB / 0.854 GB, free: 488 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2322/1.161, allocations: 2.244 MB / 0.8562 GB, free: 199.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.312e-06/1.161, allocations: 1.094 kB / 0.8562 GB, free: 199.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.135/1.296, allocations: 89.25 MB / 0.9434 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.56/18.86, allocations: 11.98 kB / 0.9434 GB, free: 129.9 MB / 0.5606 GB " [Timeout remaining time 641] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 27.039110159967095] Failed to read output from testmodel.py, exit status != 0: 19.153960234951228 18.9999638 18.739589748 Calling exit ...