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.001941/0.001941, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002344/0.002344, allocations: 163 kB / 22.46 MB, free: 5.375 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.518/1.518, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.0138/0.0138, allocations: 1.992 MB / 261.2 MB, free: 14.71 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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 384.8 MB, free: 1.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.712e-05, allocations: 6.219 kB / 384.8 MB, free: 1.625 MB / 302.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.01713/0.01716, allocations: 12.93 MB / 397.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.02768, allocations: 4.949 MB / 402.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002638/0.03032, allocations: 111.3 kB / 402.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003487/0.0338, allocations: 1.036 MB / 403.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004273/0.03808, allocations: 1.203 MB / 405 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.04051, allocations: 0.8023 MB / 405.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005571/0.04608, allocations: 3.353 MB / 409.2 MB, free: 9.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002924/0.049, allocations: 1.426 MB / 410.6 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003751/0.05276, allocations: 2.101 MB / 412.7 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00312/0.05588, allocations: 1.34 MB / 414 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009965/0.05687, allocations: 388 kB / 414.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.05872, allocations: 0.5894 MB / 415 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001253/0.05997, allocations: 0.884 MB / 415.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002365/0.06234, allocations: 1.13 MB / 417 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007181/0.06952, allocations: 5.185 MB / 422.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.06953, allocations: 4 kB / 422.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.06953, allocations: 0 / 422.2 MB, free: 12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.314e-05/0.06961, allocations: 4 kB / 422.2 MB, free: 12 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: 673 * Number of variables: 673 Notification: Performance of Generate backend data structure: time 0.008524/0.07814, allocations: 3.477 MB / 425.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.07818, allocations: 16.03 kB / 425.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0028/0.08098, allocations: 0.5534 MB / 426.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003641/0.08462, allocations: 1.807 MB / 428 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.08481, allocations: 197.5 kB / 428.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004701/0.08528, allocations: 252.3 kB / 428.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006051/0.09133, allocations: 3.365 MB / 431.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-05/0.09139, allocations: 7.938 kB / 431.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002661/0.09166, allocations: 100 kB / 432 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/0.0918, allocations: 121 kB / 432.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004857/0.09666, allocations: 2.714 MB / 434.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0159/0.1126, allocations: 9.28 MB / 444.1 MB, free: 5.559 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003131/0.1157, allocations: 1.421 MB / 445.5 MB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.1171, allocations: 0.765 MB / 446.3 MB, free: 3.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004176/0.1213, allocations: 2.024 MB / 448.3 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.1214, allocations: 43.22 kB / 448.3 MB, free: 1.305 MB / 366.1 MB Notification: Performance of pre-optimization done (n=81): time 2.495e-06/0.1214, allocations: 0 / 448.3 MB, free: 1.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.2082/0.3295, allocations: 5.159 MB / 453.5 MB, free: 66.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006699/0.3362, allocations: 4.963 MB / 458.4 MB, free: 63.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.3382, allocations: 1.366 MB / 459.8 MB, free: 62.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.3383, allocations: 47.7 kB / 459.9 MB, free: 62.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006775/0.339, allocations: 1.294 MB / 461.1 MB, free: 61.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/0.3393, allocations: 422.5 kB / 461.6 MB, free: 61.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004052/0.3397, allocations: 275 kB / 461.8 MB, free: 61.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.267e-05/0.3397, allocations: 307.2 kB / 462.1 MB, free: 61.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009847/0.3407, allocations: 0.617 MB / 462.7 MB, free: 61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.3419, allocations: 1.166 MB / 463.9 MB, free: 60.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.3439, allocations: 1.902 MB / 465.8 MB, free: 58.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.3439, allocations: 6.469 kB / 465.8 MB, free: 58.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002947/0.3468, allocations: 2.014 MB / 467.8 MB, free: 57.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.3468, allocations: 15.69 kB / 467.8 MB, free: 57.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/0.3469, allocations: 21.12 kB / 467.9 MB, free: 57.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002552/0.3471, allocations: 97.92 kB / 468 MB, free: 57.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.3485, allocations: 393.9 kB / 468.3 MB, free: 57.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.706e-05/0.3486, allocations: 41.45 kB / 468.4 MB, free: 57.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.3497, allocations: 83.7 kB / 468.5 MB, free: 57.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.3498, allocations: 71.05 kB / 468.5 MB, free: 57.77 MB / 366.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.001148/0.3509, allocations: 0.8136 MB / 469.4 MB, free: 57.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.3512, allocations: 161 kB / 469.5 MB, free: 57.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/0.354, allocations: 1.805 MB / 471.3 MB, free: 56.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.354, allocations: 11.56 kB / 471.3 MB, free: 56.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.354, allocations: 4 kB / 471.3 MB, free: 56.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.3541, allocations: 7.734 kB / 471.3 MB, free: 56.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00712/0.3612, allocations: 4.946 MB / 476.3 MB, free: 53.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.3612, allocations: 3.719 kB / 476.3 MB, free: 53.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007239/0.3619, allocations: 180.1 kB / 476.5 MB, free: 53.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.363, allocations: 405.2 kB / 476.9 MB, free: 53.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.343e-05/0.363, allocations: 23.78 kB / 476.9 MB, free: 53.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005504/0.3685, allocations: 4.966 MB / 481.8 MB, free: 48.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005567/0.3741, allocations: 4.85 MB / 486.7 MB, free: 43.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003572/0.3777, allocations: 2.741 MB / 489.4 MB, free: 40.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006364/0.3783, allocations: 304.7 kB / 489.7 MB, free: 40.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.3785, allocations: 24 kB / 489.8 MB, free: 40.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007675/0.3793, allocations: 55.88 kB / 489.8 MB, free: 40.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/0.3794, allocations: 104.5 kB / 489.9 MB, free: 40.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-05/0.3795, allocations: 35.98 kB / 490 MB, free: 40.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001047/0.3806, allocations: 0.9017 MB / 490.9 MB, free: 39.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3806, allocations: 3.938 kB / 490.9 MB, free: 39.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00162/0.3822, allocations: 0.5077 MB / 491.4 MB, free: 38.91 MB / 366.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.000263/0.3824, allocations: 155.4 kB / 491.5 MB, free: 38.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.3845, allocations: 1.501 MB / 493 MB, free: 37.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3845, allocations: 0 / 493 MB, free: 37.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.3859, allocations: 0.9905 MB / 494 MB, free: 36.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/0.3877, allocations: 411.9 kB / 494.4 MB, free: 35.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006136/0.3938, allocations: 4.712 MB / 499.1 MB, free: 31.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/0.395, allocations: 1.394 MB / 0.4888 GB, free: 29.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00113/0.3961, allocations: 366.9 kB / 0.4891 GB, free: 29.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/0.3965, allocations: 116.5 kB / 0.4892 GB, free: 29.19 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3965, allocations: 0 / 0.4892 GB, free: 29.19 MB / 366.1 MB Notification: Performance of Templates: time 0.03553/0.432, allocations: 24.76 MB / 0.5134 GB, free: 4.758 MB / 366.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 -lv LOG_STATS > BLDC_BLDC.Examples.SMPM_NominalOperation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.354699797928333] Failed to read output from testmodel.py, exit status != 0: 0.44137781485915184 0.45500311400000004 0.382084323 Calling exit ...