Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BLDC_BLDC.Examples.SMPM_NominalOperation.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.001274/0.001274, allocations: 79.89 kB / 19.76 MB, free: 1.875 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.00143/0.00143, allocations: 157.9 kB / 23.01 MB, free: 4.602 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.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.01322/0.01322, allocations: 2.001 MB / 261.8 MB, free: 14.68 MB / 254.1 MB " [Timeout remaining time 180] Using package BLDC with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/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 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: translateModel(BLDC.Examples.SMPM_NominalOperation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.SMPM_NominalOperation") translateModel(BLDC.Examples.SMPM_NominalOperation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.SMPM_NominalOperation") [Timeout 660] "Notification: BLDC 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: BLDC requested package ModelicaServices of version 4.0.0. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BLDC 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: Performance of FrontEnd - loaded program: time 0.003258/0.003258, allocations: 118.7 kB / 385.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09172/0.09498, allocations: 53.96 MB / 439.3 MB, free: 12.77 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.01618/0.1112, allocations: 12.91 MB / 452.2 MB, free: 15.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009873/0.121, allocations: 4.934 MB / 457.1 MB, free: 10.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.1227, allocations: 111.3 kB / 457.2 MB, free: 10.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00292/0.1257, allocations: 1.029 MB / 458.3 MB, free: 9.699 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003392/0.129, allocations: 1.173 MB / 459.4 MB, free: 8.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.1311, allocations: 0.7908 MB / 460.2 MB, free: 7.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004366/0.1354, allocations: 3.246 MB / 463.5 MB, free: 4.473 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002237/0.1377, allocations: 1.418 MB / 464.9 MB, free: 2.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.1395, allocations: 1.417 MB / 466.3 MB, free: 1.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002138/0.1417, allocations: 1.525 MB / 467.8 MB, free: 36 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005162/0.1422, allocations: 388 kB / 468.2 MB, free: 15.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.1433, allocations: 0.5856 MB / 468.8 MB, free: 15.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008838/0.1442, allocations: 0.8686 MB / 469.7 MB, free: 14.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001546/0.1458, allocations: 1.319 MB / 471 MB, free: 12.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005959/0.1517, allocations: 5.189 MB / 476.2 MB, free: 7.668 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1517, allocations: 0 / 476.2 MB, free: 7.668 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1517, allocations: 0 / 476.2 MB, free: 7.668 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.632e-05/0.1518, allocations: 7.938 kB / 476.2 MB, free: 7.66 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 673 * Number of variables: 673 Notification: Performance of Generate backend data structure: time 0.008212/0.16, allocations: 3.516 MB / 479.7 MB, free: 4.086 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1601, allocations: 8.031 kB / 479.7 MB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/0.1627, allocations: 0.5533 MB / 480.2 MB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003427/0.1661, allocations: 1.808 MB / 482.1 MB, free: 1.664 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.1663, allocations: 189.5 kB / 482.2 MB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000392/0.1667, allocations: 252.1 kB / 482.5 MB, free: 1.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1839/0.3506, allocations: 3.36 MB / 485.8 MB, free: 85.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.564e-05/0.3506, allocations: 5.281 kB / 485.9 MB, free: 85.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002049/0.3508, allocations: 103.7 kB / 486 MB, free: 85.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.652e-05/0.3509, allocations: 121.8 kB / 486.1 MB, free: 85.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003532/0.3545, allocations: 2.716 MB / 488.8 MB, free: 84.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/0.3661, allocations: 9.294 MB / 498.1 MB, free: 78.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/0.3685, allocations: 1.413 MB / 499.5 MB, free: 78.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.3696, allocations: 0.7729 MB / 0.4885 GB, free: 77.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003102/0.3727, allocations: 2.02 MB / 0.4905 GB, free: 76.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3727, allocations: 43.38 kB / 0.4906 GB, free: 76.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 2.555e-06/0.3727, allocations: 0.75 kB / 0.4906 GB, free: 76.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=117): time 0.009924/0.3826, allocations: 5.172 MB / 0.4956 GB, free: 74.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006247/0.3889, allocations: 4.964 MB / 0.5005 GB, free: 71.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.3907, allocations: 1.365 MB / 0.5018 GB, free: 70.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.3908, allocations: 46.42 kB / 0.5018 GB, free: 70.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005955/0.3914, allocations: 1.299 MB / 0.5031 GB, free: 70.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.3916, allocations: 426.5 kB / 0.5035 GB, free: 69.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003591/0.392, allocations: 280 kB / 0.5038 GB, free: 69.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.637e-05/0.392, allocations: 310.3 kB / 0.5041 GB, free: 69.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008315/0.3928, allocations: 0.6127 MB / 0.5047 GB, free: 69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.3939, allocations: 1.168 MB / 0.5058 GB, free: 68.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.3959, allocations: 1.898 MB / 0.5077 GB, free: 66.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.3959, allocations: 4.188 kB / 0.5077 GB, free: 66.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00289/0.3988, allocations: 2.015 MB / 0.5096 GB, free: 65.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.3988, allocations: 12.47 kB / 0.5096 GB, free: 65.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.3988, allocations: 20.97 kB / 0.5097 GB, free: 65.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002523/0.3991, allocations: 95 kB / 0.5098 GB, free: 65.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.4005, allocations: 397.4 kB / 0.5101 GB, free: 65.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.174e-05/0.4005, allocations: 36.38 kB / 0.5102 GB, free: 65.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.4016, allocations: 85.42 kB / 0.5103 GB, free: 65.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.4017, allocations: 71.61 kB / 0.5103 GB, free: 65.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (193): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001154/0.4028, allocations: 0.8175 MB / 0.5111 GB, free: 65.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.4031, allocations: 157.1 kB / 0.5113 GB, free: 65.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002828/0.4059, allocations: 1.802 MB / 0.513 GB, free: 64.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.4059, allocations: 14.56 kB / 0.513 GB, free: 64.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4059, allocations: 4 kB / 0.513 GB, free: 64.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.4059, allocations: 9.812 kB / 0.5131 GB, free: 64.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007489/0.4134, allocations: 4.941 MB / 0.5179 GB, free: 62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.4134, allocations: 4.719 kB / 0.5179 GB, free: 62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007449/0.4142, allocations: 182.2 kB / 0.5181 GB, free: 61.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.4152, allocations: 403.2 kB / 0.5184 GB, free: 61.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.329e-05/0.4153, allocations: 27.58 kB / 0.5185 GB, free: 61.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005872/0.4212, allocations: 4.968 MB / 0.5233 GB, free: 58.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005692/0.4269, allocations: 4.854 MB / 0.5281 GB, free: 53.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003572/0.4304, allocations: 2.737 MB / 0.5307 GB, free: 51.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000739/0.4312, allocations: 304.8 kB / 0.531 GB, free: 50.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.4313, allocations: 28.55 kB / 0.5311 GB, free: 50.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007618/0.4321, allocations: 62.19 kB / 0.5311 GB, free: 50.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.4324, allocations: 102.6 kB / 0.5312 GB, free: 50.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.584e-05/0.4324, allocations: 34.11 kB / 0.5312 GB, free: 50.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001205/0.4336, allocations: 0.9075 MB / 0.5321 GB, free: 50.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4336, allocations: 0 / 0.5321 GB, free: 50.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001808/0.4354, allocations: 0.5045 MB / 0.5326 GB, free: 49.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 ($STATESET1.x) * 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 (87): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002359/0.4357, allocations: 158.3 kB / 0.5328 GB, free: 49.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.4378, allocations: 1.494 MB / 0.5342 GB, free: 48.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4378, allocations: 0 / 0.5342 GB, free: 48.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.4393, allocations: 0.9897 MB / 0.5352 GB, free: 47.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.441, allocations: 423.5 kB / 0.5356 GB, free: 46.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006251/0.4473, allocations: 4.753 MB / 0.5402 GB, free: 42.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/0.4486, allocations: 1.393 MB / 0.5416 GB, free: 41.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001113/0.4497, allocations: 365.3 kB / 0.542 GB, free: 41.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.45, allocations: 120.2 kB / 0.5421 GB, free: 40.96 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.45, allocations: 0 / 0.5421 GB, free: 40.96 MB / 446.1 MB Notification: Performance of Templates: time 0.03359/0.4836, allocations: 24.96 MB / 0.5664 GB, free: 16.77 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f BLDC_BLDC.Examples.SMPM_NominalOperation.makefile [Timeout 660] (rm -f BLDC_BLDC.Examples.SMPM_NominalOperation.pipe ; mkfifo BLDC_BLDC.Examples.SMPM_NominalOperation.pipe ; head -c 1048576 < BLDC_BLDC.Examples.SMPM_NominalOperation.pipe >> ../files/BLDC_BLDC.Examples.SMPM_NominalOperation.sim & ./BLDC_BLDC.Examples.SMPM_NominalOperation -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BLDC_BLDC.Examples.SMPM_NominalOperation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.171273677027784] Failed to read output from testmodel.py, exit status != 0: 0.4915039390325546 0.500252864 0.346295116 Calling exit ...