Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestEMF.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.001416/0.001416, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001782/0.001782, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 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.057/1.057, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo): time 0.02638/0.02638, allocations: 7.103 MB / 267 MB, free: 6.07 MB / 250.7 MB " [Timeout remaining time 180] Using package ChaoticCircuits with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.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(ChaoticCircuits.Test.TestEMF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestEMF") translateModel(ChaoticCircuits.Test.TestEMF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestEMF") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 339.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.897e-05, allocations: 6.25 kB / 339.1 MB, free: 9.879 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestEMF): time 0.002194/0.002223, allocations: 2.095 MB / 341.2 MB, free: 7.758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002784/0.002501, allocations: 115.5 kB / 341.3 MB, free: 7.645 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.653e-05/0.002578, allocations: 4 kB / 341.3 MB, free: 7.641 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.792e-05/0.002625, allocations: 11.86 kB / 341.3 MB, free: 7.629 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.002786, allocations: 43.62 kB / 341.3 MB, free: 7.586 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.774e-05/0.002844, allocations: 27.95 kB / 341.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.002946, allocations: 127.3 kB / 341.5 MB, free: 7.434 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.003084, allocations: 43.88 kB / 341.5 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.29e-05/0.003167, allocations: 79.81 kB / 341.6 MB, free: 7.316 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.003244, allocations: 39.83 kB / 341.6 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.003267, allocations: 12 kB / 341.7 MB, free: 7.266 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.426e-05/0.003281, allocations: 8 kB / 341.7 MB, free: 7.258 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.003304, allocations: 23.92 kB / 341.7 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.003343, allocations: 47.84 kB / 341.7 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.003486, allocations: 87.67 kB / 341.8 MB, free: 7.102 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.003489, allocations: 0 / 341.8 MB, free: 7.102 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.00349, allocations: 0 / 341.8 MB, free: 7.102 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.003495, allocations: 0 / 341.8 MB, free: 7.102 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0003836/0.003879, allocations: 452.1 kB / 342.3 MB, free: 6.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.003913, allocations: 8.031 kB / 342.3 MB, free: 6.617 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.00396, allocations: 20.84 kB / 342.3 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.004091, allocations: 152.3 kB / 342.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.004102, allocations: 8.375 kB / 342.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.004127, allocations: 12.38 kB / 342.5 MB, free: 6.402 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.004274, allocations: 107.7 kB / 342.6 MB, free: 6.289 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.004286, allocations: 4.188 kB / 342.6 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.004299, allocations: 8.125 kB / 342.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.004307, allocations: 4 kB / 342.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.08e-05/0.004377, allocations: 47.91 kB / 342.6 MB, free: 6.227 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.004841, allocations: 450.4 kB / 343.1 MB, free: 5.746 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.356e-05/0.004935, allocations: 55.05 kB / 343.1 MB, free: 5.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.00496, allocations: 15.69 kB / 343.1 MB, free: 5.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-06/0.004968, allocations: 3.938 kB / 343.1 MB, free: 5.656 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.004985, allocations: 49.31 kB / 343.2 MB, free: 5.598 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.004986, allocations: 0 / 343.2 MB, free: 5.598 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001554/0.005142, allocations: 69.62 kB / 343.3 MB, free: 5.523 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.005162, allocations: 55.41 kB / 343.3 MB, free: 5.457 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.37e-05/0.005226, allocations: 192.9 kB / 343.5 MB, free: 5.254 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.511e-06/0.005231, allocations: 25.7 kB / 343.5 MB, free: 5.223 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.005274, allocations: 172.9 kB / 343.7 MB, free: 5.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.00529, allocations: 35.88 kB / 343.7 MB, free: 5.016 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.005321, allocations: 27.38 kB / 343.7 MB, free: 4.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.302e-05/0.005364, allocations: 0.4923 MB / 344.2 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.005387, allocations: 11.94 kB / 344.3 MB, free: 4.465 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.504e-05/0.005422, allocations: 62.36 kB / 344.3 MB, free: 4.383 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.087e-05/0.005483, allocations: 82.36 kB / 344.4 MB, free: 4.281 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.005485, allocations: 0 / 344.4 MB, free: 4.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.465e-05/0.005579, allocations: 97.45 kB / 344.5 MB, free: 4.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.005593, allocations: 8 kB / 344.5 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.005598, allocations: 0 / 344.5 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.005614, allocations: 0 / 344.5 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.705e-05/0.005711, allocations: 24.11 kB / 344.5 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.005717, allocations: 8 kB / 344.5 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.009e-05/0.005747, allocations: 11.98 kB / 344.5 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.005753, allocations: 4 kB / 344.5 MB, free: 4.125 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/0.005799, allocations: 168.5 kB / 344.7 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.005817, allocations: 15.88 kB / 344.7 MB, free: 3.934 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.00584, allocations: 8.438 kB / 344.7 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.005843, allocations: 7.938 kB / 344.7 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.005847, allocations: 0 / 344.7 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.00585, allocations: 0 / 344.7 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.587e-05/0.005946, allocations: 152.5 kB / 344.9 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.005947, allocations: 4 kB / 344.9 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-05/0.006024, allocations: 20 kB / 344.9 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.006026, allocations: 0 / 344.9 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.006039, allocations: 7.938 kB / 344.9 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.00604, allocations: 3.984 kB / 344.9 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006042, allocations: 0 / 344.9 MB, free: 3.699 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.006196, allocations: 219.8 kB / 345.1 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.006209, allocations: 11.95 kB / 345.2 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.006222, allocations: 7.922 kB / 345.2 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.269e-05/0.006265, allocations: 4.031 kB / 345.2 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.006301, allocations: 7.984 kB / 345.2 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.006304, allocations: 4 kB / 345.2 MB, free: 3.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.872e-05/0.006333, allocations: 139.2 kB / 345.3 MB, free: 3.293 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006333, allocations: 0 / 345.3 MB, free: 3.293 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001479/0.006481, allocations: 31.89 kB / 345.3 MB, free: 3.262 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (emf.phi,inertia.w) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.687e-05/0.006548, allocations: 87.25 kB / 345.4 MB, free: 3.168 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.833e-05/0.006646, allocations: 51.61 kB / 345.5 MB, free: 3.113 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.006647, allocations: 0 / 345.5 MB, free: 3.113 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.484e-05/0.006672, allocations: 31.86 kB / 345.5 MB, free: 3.078 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.006883, allocations: 11.66 kB / 345.5 MB, free: 3.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000582/0.007465, allocations: 330.2 kB / 345.8 MB, free: 2.723 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.488e-05/0.00749, allocations: 63.34 kB / 345.9 MB, free: 2.641 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.432e-05/0.007514, allocations: 12.48 kB / 345.9 MB, free: 2.629 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.00754, allocations: 12.5 kB / 345.9 MB, free: 2.617 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.007541, allocations: 0 / 345.9 MB, free: 2.617 MB / 266.7 MB Notification: Performance of Templates: time 0.00248/0.01002, allocations: 0.8067 MB / 346.7 MB, free: 1.816 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.TestEMF.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestEMF.sim & ./ChaoticCircuits_ChaoticCircuits.Test.TestEMF -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8385662552900612]