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.00183/0.00183, allocations: 74.36 kB / 19.01 MB, free: 2.867 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.001907/0.001907, allocations: 157.4 kB / 22.25 MB, free: 5.129 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.592/1.592, allocations: 177.2 MB / 202.6 MB, free: 9.285 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.01342/0.01342, allocations: 1.994 MB / 261 MB, free: 14.84 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.003679/0.003679, allocations: 107.8 kB / 384.5 MB, free: 1.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.131, allocations: 53.96 MB / 438.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.2816/0.4126, allocations: 12.91 MB / 451.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.4236, allocations: 4.941 MB / 456.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00342/0.427, allocations: 112 kB / 456.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00376/0.4308, allocations: 1.024 MB / 457.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005806/0.4366, allocations: 1.165 MB / 458.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.4394, allocations: 0.7924 MB / 459.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008632/0.448, allocations: 3.239 MB / 462.7 MB, free: 9.934 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003068/0.4511, allocations: 1.435 MB / 464.1 MB, free: 9.215 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005378/0.4564, allocations: 2.176 MB / 466.3 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003614/0.4601, allocations: 1.519 MB / 467.8 MB, free: 7.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009275/0.461, allocations: 391.4 kB / 468.2 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.4631, allocations: 0.5868 MB / 468.8 MB, free: 7.434 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008188/0.4639, allocations: 0.8753 MB / 469.7 MB, free: 6.875 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002245/0.4662, allocations: 1.321 MB / 471 MB, free: 6.117 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006385/0.4725, allocations: 5.187 MB / 476.2 MB, free: 3.461 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4725, allocations: 0 / 476.2 MB, free: 3.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4726, allocations: 0 / 476.2 MB, free: 3.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001493/0.4727, allocations: 1.375 kB / 476.2 MB, free: 3.461 MB / 366.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.009631/0.4823, allocations: 3.52 MB / 479.7 MB, free: 1.051 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.4824, allocations: 9.281 kB / 479.7 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002847/0.4852, allocations: 0.554 MB / 480.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003985/0.4892, allocations: 1.796 MB / 482 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/0.4894, allocations: 194.9 kB / 482.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005137/0.4899, allocations: 258.5 kB / 482.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00622/0.4961, allocations: 3.369 MB / 485.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.578e-05/0.4962, allocations: 2.75 kB / 485.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/0.4965, allocations: 108 kB / 486 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/0.4966, allocations: 121.5 kB / 486.1 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005187/0.5018, allocations: 2.713 MB / 488.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02075/0.5225, allocations: 9.304 MB / 498.1 MB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003456/0.526, allocations: 1.415 MB / 499.5 MB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.5275, allocations: 0.7611 MB / 0.4886 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00544/0.533, allocations: 2.02 MB / 0.4905 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.451e-05/0.5331, allocations: 39.22 kB / 0.4906 GB, free: 15.99 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 3.888e-06/0.5331, allocations: 0 / 0.4906 GB, free: 15.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=117): time 0.01309/0.5461, allocations: 5.171 MB / 0.4956 GB, free: 10.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008649/0.5548, allocations: 4.973 MB / 0.5005 GB, free: 5.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003032/0.5578, allocations: 1.368 MB / 0.5018 GB, free: 4.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001704/0.558, allocations: 49.7 kB / 0.5019 GB, free: 4.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.5591, allocations: 1.3 MB / 0.5031 GB, free: 2.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004892/0.5596, allocations: 424.4 kB / 0.5035 GB, free: 2.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000514/0.5601, allocations: 283.4 kB / 0.5038 GB, free: 2.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5603, allocations: 305.1 kB / 0.5041 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.5614, allocations: 0.613 MB / 0.5047 GB, free: 1.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.563, allocations: 1.167 MB / 0.5058 GB, free: 15.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/0.5658, allocations: 1.898 MB / 0.5077 GB, free: 13.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.799e-05/0.5658, allocations: 4 kB / 0.5077 GB, free: 13.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00377/0.5696, allocations: 2.009 MB / 0.5096 GB, free: 11.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.5696, allocations: 12.91 kB / 0.5097 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.931e-05/0.5696, allocations: 20 kB / 0.5097 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002919/0.5699, allocations: 101.6 kB / 0.5098 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.5714, allocations: 395.3 kB / 0.5102 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.554e-05/0.5715, allocations: 39.86 kB / 0.5102 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.5728, allocations: 87.88 kB / 0.5103 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.5729, allocations: 68 kB / 0.5103 GB, free: 11.04 MB / 414.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.001634/0.5746, allocations: 0.8181 MB / 0.5111 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005118/0.5751, allocations: 159 kB / 0.5113 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003869/0.579, allocations: 1.803 MB / 0.5131 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.579, allocations: 16 kB / 0.5131 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.579, allocations: 3.938 kB / 0.5131 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.579, allocations: 3.984 kB / 0.5131 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/0.5906, allocations: 4.956 MB / 0.5179 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.5906, allocations: 4 kB / 0.5179 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008371/0.5914, allocations: 184.1 kB / 0.5181 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.5927, allocations: 393.9 kB / 0.5185 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.559e-05/0.5928, allocations: 24 kB / 0.5185 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008538/0.6013, allocations: 4.965 MB / 0.5233 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008543/0.6099, allocations: 4.847 MB / 0.5281 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005445/0.6153, allocations: 2.737 MB / 0.5307 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/0.6165, allocations: 302.9 kB / 0.531 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000574/0.6171, allocations: 28 kB / 0.5311 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.6182, allocations: 63.88 kB / 0.5311 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002935/0.6185, allocations: 96.75 kB / 0.5312 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.7e-05/0.6186, allocations: 32 kB / 0.5312 GB, free: 5.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002422/0.621, allocations: 0.9056 MB / 0.5321 GB, free: 4.273 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.621, allocations: 0 / 0.5321 GB, free: 4.273 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002667/0.6237, allocations: 0.5078 MB / 0.5326 GB, free: 3.766 MB / 430.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.0003845/0.6241, allocations: 147 kB / 0.5328 GB, free: 3.613 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003088/0.6271, allocations: 1.501 MB / 0.5342 GB, free: 2.105 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.6272, allocations: 0 / 0.5342 GB, free: 2.105 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002199/0.6294, allocations: 0.9919 MB / 0.5352 GB, free: 1.102 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/0.6322, allocations: 419.8 kB / 0.5356 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.6427, allocations: 4.761 MB / 0.5403 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002415/0.6451, allocations: 1.395 MB / 0.5416 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001595/0.6467, allocations: 365.7 kB / 0.542 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005873/0.6473, allocations: 116.5 kB / 0.5421 GB, free: 9.941 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6473, allocations: 0 / 0.5421 GB, free: 9.941 MB / 446.1 MB Notification: Performance of Templates: time 0.05222/0.6995, allocations: 24.96 MB / 0.5664 GB, free: 1.289 MB / 462.1 MB " [Timeout remaining time 659] 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: 6.080856991931796] Failed to read output from testmodel.py, exit status != 0: 0.7101938799023628 0.725018145 0.24889056 Calling exit ...