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.0009469/0.0009469, allocations: 88.52 kB / 19.94 MB, free: 4.605 MB / 18.57 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.0009855/0.0009855, allocations: 177.9 kB / 23.21 MB, free: 1.328 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 0.9218/0.9218, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.02667/0.02667, allocations: 7.117 MB / 267.1 MB, free: 6.254 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 1.653e-06/1.653e-06, allocations: 0 / 393.5 MB, free: 3.527 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.727e-05, allocations: 2.281 kB / 393.5 MB, free: 3.523 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestEMF): time 0.002057/0.002074, allocations: 2.021 MB / 395.5 MB, free: 1.484 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002294/0.002303, allocations: 103.6 kB / 395.6 MB, free: 1.383 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.504e-05/0.002368, allocations: 4 kB / 395.6 MB, free: 1.379 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.852e-05/0.002417, allocations: 11.86 kB / 395.6 MB, free: 1.367 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.002565, allocations: 47.62 kB / 395.7 MB, free: 1.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.515e-05/0.00262, allocations: 23.97 kB / 395.7 MB, free: 1.297 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.002728, allocations: 131.3 kB / 395.8 MB, free: 1.168 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.002848, allocations: 40.03 kB / 395.8 MB, free: 1.133 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.533e-05/0.002933, allocations: 79.75 kB / 395.9 MB, free: 1.055 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.878e-05/0.003002, allocations: 39.88 kB / 396 MB, free: 1.016 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.003035, allocations: 12 kB / 396 MB, free: 1.004 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.632e-05/0.003051, allocations: 12 kB / 396 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.003075, allocations: 23.92 kB / 396 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.003114, allocations: 39.84 kB / 396 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.003255, allocations: 135.6 kB / 396.2 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003257, allocations: 0 / 396.2 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.003258, allocations: 0 / 396.2 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.003261, allocations: 0 / 396.2 MB, free: 0.7969 MB / 314.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.0003902/0.003651, allocations: 356.7 kB / 396.5 MB, free: 432 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.003683, allocations: 12.03 kB / 396.5 MB, free: 420 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.003716, allocations: 12.84 kB / 396.6 MB, free: 408 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.003848, allocations: 141.6 kB / 396.7 MB, free: 240 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.003858, allocations: 8.375 kB / 396.7 MB, free: 232 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.003881, allocations: 16.38 kB / 396.7 MB, free: 216 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.004059, allocations: 122.9 kB / 396.8 MB, free: 88 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.00407, allocations: 4.125 kB / 396.8 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.004083, allocations: 12.12 kB / 396.9 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.004087, allocations: 0 / 396.9 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.004224, allocations: 84 kB / 396.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.004668, allocations: 407.2 kB / 397.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.004795, allocations: 62.55 kB / 397.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.004844, allocations: 32.84 kB / 397.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.004854, allocations: 0 / 397.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.004875, allocations: 46.42 kB / 397.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.004876, allocations: 0 / 397.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002183/0.005094, allocations: 105.6 kB / 397.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.00512, allocations: 55.41 kB / 397.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.615e-05/0.005197, allocations: 136.9 kB / 397.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.005206, allocations: 25.7 kB / 397.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.005256, allocations: 120 kB / 397.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.005274, allocations: 35.72 kB / 397.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.005305, allocations: 29.66 kB / 398 MB, free: 14.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.733e-05/0.005372, allocations: 318.8 kB / 398.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.473e-05/0.005417, allocations: 23.98 kB / 398.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.137e-05/0.005478, allocations: 68.2 kB / 398.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.005581, allocations: 92.2 kB / 398.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005583, allocations: 0 / 398.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001363/0.005719, allocations: 129.8 kB / 398.6 MB, free: 14.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.00573, allocations: 8.125 kB / 398.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.005735, allocations: 4 kB / 398.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.005746, allocations: 0 / 398.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.723e-05/0.005833, allocations: 27.92 kB / 398.6 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.005838, allocations: 4.078 kB / 398.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.266e-05/0.005871, allocations: 11.94 kB / 398.6 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.005882, allocations: 15.91 kB / 398.7 MB, free: 14.12 MB / 330.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 6.083e-05/0.005943, allocations: 121.8 kB / 398.8 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.005961, allocations: 11.89 kB / 398.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.005986, allocations: 16.44 kB / 398.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.005987, allocations: 0 / 398.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.005991, allocations: 0 / 398.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005993, allocations: 0 / 398.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.0061, allocations: 149.2 kB / 398.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.006101, allocations: 0 / 398.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.457e-05/0.006166, allocations: 19.98 kB / 399 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.006169, allocations: 4 kB / 399 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.006176, allocations: 3.938 kB / 399 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.006177, allocations: 0 / 399 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.9e-07/0.006177, allocations: 0 / 399 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.00637, allocations: 223.4 kB / 399.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.006382, allocations: 7.984 kB / 399.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.006395, allocations: 3.938 kB / 399.2 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.006433, allocations: 4 kB / 399.2 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.006468, allocations: 7.984 kB / 399.2 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.006472, allocations: 8 kB / 399.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.769e-05/0.00651, allocations: 99.2 kB / 399.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00651, allocations: 0 / 399.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004096/0.00692, allocations: 32.02 kB / 399.4 MB, free: 13.36 MB / 330.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.567e-05/0.006985, allocations: 91.25 kB / 399.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.007116, allocations: 67.89 kB / 399.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.007117, allocations: 0 / 399.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.131e-05/0.007159, allocations: 35.92 kB / 399.5 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.007353, allocations: 15.92 kB / 399.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.007764, allocations: 339.4 kB / 399.9 MB, free: 12.78 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.763e-05/0.007822, allocations: 89.31 kB / 400 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.007849, allocations: 12.5 kB / 400 MB, free: 12.66 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007849, allocations: 4 kB / 400 MB, free: 12.66 MB / 330.7 MB Notification: Performance of Templates: time 0.001893/0.009742, allocations: 1.321 MB / 401.3 MB, free: 11.34 MB / 330.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 > ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.325156309176236]