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.001881/0.001881, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.002075/0.002075, allocations: 169.9 kB / 22.45 MB, free: 2.102 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.712/1.712, allocations: 177.1 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 178] 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.04495/0.04495, allocations: 7.121 MB / 266.3 MB, free: 6.223 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.854e-06/1.854e-06, allocations: 3.938 kB / 393.5 MB, free: 2.707 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.344e-05/3.53e-05, allocations: 5.094 kB / 393.5 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestEMF): time 0.003805/0.00384, allocations: 2.013 MB / 395.5 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003245/0.004165, allocations: 115.5 kB / 395.6 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.053e-05/0.004245, allocations: 0 / 395.6 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 7.431e-05/0.004319, allocations: 19.8 kB / 395.6 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.004506, allocations: 43.62 kB / 395.7 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.115e-05/0.004587, allocations: 23.97 kB / 395.7 MB, free: 484 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.004767, allocations: 131.3 kB / 395.8 MB, free: 352 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.004915, allocations: 45.22 kB / 395.9 MB, free: 308 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.00504, allocations: 71.8 kB / 395.9 MB, free: 236 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.005143, allocations: 35.91 kB / 396 MB, free: 200 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.005182, allocations: 12 kB / 396 MB, free: 188 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.684e-05/0.005209, allocations: 12 kB / 396 MB, free: 176 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.125e-05/0.00525, allocations: 27.91 kB / 396 MB, free: 148 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.66e-05/0.005317, allocations: 39.86 kB / 396.1 MB, free: 108 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.005582, allocations: 135.5 kB / 396.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.005585, allocations: 0 / 396.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005585, allocations: 0 / 396.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.00559, allocations: 4 kB / 396.2 MB, free: 15.97 MB / 330.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.000699/0.00629, allocations: 349.8 kB / 396.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.006331, allocations: 12.03 kB / 396.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/0.00639, allocations: 12.84 kB / 396.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.006623, allocations: 137.6 kB / 396.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.006644, allocations: 12.36 kB / 396.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.006683, allocations: 12.38 kB / 396.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.006967, allocations: 115 kB / 396.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.006981, allocations: 192 / 396.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.006999, allocations: 16.06 kB / 396.9 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.007008, allocations: 4 kB / 396.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/0.007249, allocations: 87.89 kB / 396.9 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007913/0.00804, allocations: 407.2 kB / 397.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.008234, allocations: 66.48 kB / 397.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.487e-05/0.008329, allocations: 36.84 kB / 397.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.008341, allocations: 0 / 397.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.008378, allocations: 34.5 kB / 397.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.008379, allocations: 0 / 397.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003485/0.008727, allocations: 113.8 kB / 397.6 MB, free: 14.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.008778, allocations: 51.41 kB / 397.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.008916, allocations: 129.8 kB / 397.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.008936, allocations: 25.7 kB / 397.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.009042, allocations: 131.8 kB / 397.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.009073, allocations: 35.62 kB / 398 MB, free: 14.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.009136, allocations: 25.7 kB / 398 MB, free: 14.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.00931, allocations: 318.8 kB / 398.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.751e-05/0.009398, allocations: 31.97 kB / 398.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.009602, allocations: 56.28 kB / 398.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.009803, allocations: 96.2 kB / 398.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.009805, allocations: 0 / 398.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002793/0.01008, allocations: 133.7 kB / 398.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.0101, allocations: 4 kB / 398.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.0101, allocations: 0 / 398.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.01012, allocations: 4 kB / 398.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.01026, allocations: 28.11 kB / 398.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.01027, allocations: 80 / 398.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.872e-05/0.01033, allocations: 11.98 kB / 398.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.01034, allocations: 7.984 kB / 398.7 MB, free: 13.3 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 0.0001172/0.01045, allocations: 125.7 kB / 398.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.01048, allocations: 11.89 kB / 398.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.01052, allocations: 12.44 kB / 398.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.01052, allocations: 0 / 398.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.01053, allocations: 0 / 398.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.01054, allocations: 3.984 kB / 398.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.01074, allocations: 149.2 kB / 399 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01074, allocations: 0 / 399 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.01086, allocations: 19.98 kB / 399 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.01086, allocations: 0 / 399 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.01088, allocations: 11.94 kB / 399 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01088, allocations: 0 / 399 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01088, allocations: 0 / 399 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.01126, allocations: 219.4 kB / 399.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.01127, allocations: 8.016 kB / 399.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.01129, allocations: 7.969 kB / 399.2 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.01137, allocations: 7.984 kB / 399.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.01141, allocations: 4 kB / 399.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.01141, allocations: 0 / 399.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.035e-05/0.0115, allocations: 109.9 kB / 399.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0115, allocations: 0 / 399.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002392/0.01174, allocations: 27.89 kB / 399.4 MB, free: 12.55 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 0.0001114/0.01185, allocations: 95.25 kB / 399.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.01209, allocations: 71.89 kB / 399.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01209, allocations: 0 / 399.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.443e-05/0.01217, allocations: 35.84 kB / 399.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.01244, allocations: 8 kB / 399.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006631/0.0131, allocations: 309.7 kB / 399.9 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.01321, allocations: 93.31 kB / 400 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.317e-05/0.01325, allocations: 12.47 kB / 400 MB, free: 11.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.01328, allocations: 12.5 kB / 400 MB, free: 11.86 MB / 330.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01328, allocations: 0 / 400 MB, free: 11.86 MB / 330.7 MB Notification: Performance of Templates: time 0.003746/0.01703, allocations: 0.7711 MB / 400.8 MB, free: 11.1 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.264038925990462]