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.001868/0.001868, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.002202/0.002202, allocations: 213.1 kB / 22.25 MB, free: 3.59 MB / 13.93 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.852/1.852, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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.05138/0.05138, allocations: 9.556 MB / 322 MB, free: 8.48 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: ChaoticCircuits 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: Performance of FrontEnd - loaded program: time 0.003768/0.003768, allocations: 71.89 kB / 449.1 MB, free: 37.24 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1147, allocations: 55.79 MB / 0.4931 GB, free: 13.35 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestEMF): time 0.004528/0.1192, allocations: 2 MB / 0.495 GB, free: 11.33 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000371/0.1196, allocations: 111.6 kB / 0.4951 GB, free: 11.22 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.202e-05/0.1197, allocations: 0 / 0.4951 GB, free: 11.22 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 7.492e-05/0.1198, allocations: 23.78 kB / 0.4951 GB, free: 11.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.12, allocations: 35.7 kB / 0.4952 GB, free: 11.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.007e-05/0.1201, allocations: 27.91 kB / 0.4952 GB, free: 11.14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.1203, allocations: 123.5 kB / 0.4953 GB, free: 11.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.1205, allocations: 41.22 kB / 0.4954 GB, free: 10.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.986e-05/0.1206, allocations: 47.8 kB / 0.4954 GB, free: 10.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.1207, allocations: 47.77 kB / 0.4954 GB, free: 10.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.1207, allocations: 12 kB / 0.4955 GB, free: 10.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.145e-05/0.1207, allocations: 12 kB / 0.4955 GB, free: 10.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.455e-05/0.1208, allocations: 31.8 kB / 0.4955 GB, free: 10.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.55e-05/0.1209, allocations: 47.8 kB / 0.4955 GB, free: 10.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.1211, allocations: 131.5 kB / 0.4957 GB, free: 10.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.1211, allocations: 0 / 0.4957 GB, free: 10.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.1211, allocations: 0 / 0.4957 GB, free: 10.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1211, allocations: 0 / 0.4957 GB, free: 10.65 MB / 362.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.0007159/0.1219, allocations: 357.8 kB / 0.496 GB, free: 10.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.1219, allocations: 8.031 kB / 0.496 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.122, allocations: 20.84 kB / 0.496 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.1222, allocations: 142.3 kB / 0.4962 GB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1222, allocations: 4.375 kB / 0.4962 GB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.1222, allocations: 12.38 kB / 0.4962 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.1225, allocations: 130.5 kB / 0.4963 GB, free: 9.934 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.1226, allocations: 4 kB / 0.4963 GB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.1226, allocations: 4 kB / 0.4963 GB, free: 9.926 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1226, allocations: 8 kB / 0.4963 GB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.1228, allocations: 83.88 kB / 0.4964 GB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007816/0.1236, allocations: 399.1 kB / 0.4968 GB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.1238, allocations: 74.41 kB / 0.4969 GB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.17e-05/0.1239, allocations: 32.84 kB / 0.4969 GB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.1239, allocations: 0 / 0.4969 GB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.1239, allocations: 34.56 kB / 0.4969 GB, free: 9.246 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 7.42e-07/0.1239, allocations: 0 / 0.4969 GB, free: 9.246 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003495/0.1243, allocations: 105.6 kB / 0.497 GB, free: 9.137 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.1243, allocations: 55.39 kB / 0.4971 GB, free: 9.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1245, allocations: 132.2 kB / 0.4972 GB, free: 8.934 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.1245, allocations: 25.7 kB / 0.4972 GB, free: 8.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/0.1246, allocations: 123.9 kB / 0.4973 GB, free: 8.777 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.1246, allocations: 35.89 kB / 0.4974 GB, free: 8.742 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.1247, allocations: 37.58 kB / 0.4974 GB, free: 8.699 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1249, allocations: 322.8 kB / 0.4977 GB, free: 8.375 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.125, allocations: 23.98 kB / 0.4977 GB, free: 8.352 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.1251, allocations: 60.28 kB / 0.4978 GB, free: 8.277 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.1253, allocations: 96.2 kB / 0.4979 GB, free: 8.168 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.1253, allocations: 3.938 kB / 0.4979 GB, free: 8.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002559/0.1255, allocations: 121.5 kB / 0.498 GB, free: 8.039 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1256, allocations: 6.188 kB / 0.498 GB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1256, allocations: 4 kB / 0.498 GB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1256, allocations: 0 / 0.498 GB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.1257, allocations: 28.11 kB / 0.4981 GB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.1257, allocations: 11.98 kB / 0.4981 GB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.1258, allocations: 7.938 kB / 0.4981 GB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1258, allocations: 4 kB / 0.4981 GB, free: 7.98 MB / 362.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.000127/0.1259, allocations: 129.7 kB / 0.4982 GB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.126, allocations: 7.953 kB / 0.4982 GB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.126, allocations: 12.36 kB / 0.4982 GB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.126, allocations: 0 / 0.4982 GB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.126, allocations: 0 / 0.4982 GB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.126, allocations: 4 kB / 0.4982 GB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.1262, allocations: 153.2 kB / 0.4984 GB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1262, allocations: 4 kB / 0.4984 GB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.1264, allocations: 19.98 kB / 0.4984 GB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1264, allocations: 0 / 0.4984 GB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1264, allocations: 0 / 0.4984 GB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1264, allocations: 0 / 0.4984 GB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1264, allocations: 0 / 0.4984 GB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/0.1268, allocations: 227.7 kB / 0.4986 GB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.1268, allocations: 11.92 kB / 0.4986 GB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1268, allocations: 8.062 kB / 0.4986 GB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.17e-05/0.1269, allocations: 11.92 kB / 0.4986 GB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.127, allocations: 3.984 kB / 0.4986 GB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.127, allocations: 4 kB / 0.4986 GB, free: 7.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.774e-05/0.127, allocations: 99.27 kB / 0.4987 GB, free: 7.238 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.127, allocations: 0 / 0.4987 GB, free: 7.238 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002428/0.1273, allocations: 23.95 kB / 0.4988 GB, free: 7.215 MB / 362.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.0001287/0.1274, allocations: 95.25 kB / 0.4989 GB, free: 7.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.1277, allocations: 71.89 kB / 0.4989 GB, free: 7.043 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1277, allocations: 0 / 0.4989 GB, free: 7.043 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.71e-05/0.1278, allocations: 31.92 kB / 0.499 GB, free: 7.012 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.128, allocations: 17 kB / 0.499 GB, free: 6.996 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008236/0.1289, allocations: 374.3 kB / 0.4993 GB, free: 6.605 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.129, allocations: 101 kB / 0.4994 GB, free: 6.488 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.658e-05/0.129, allocations: 448 / 0.4994 GB, free: 6.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.1291, allocations: 15.44 kB / 0.4994 GB, free: 6.473 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1291, allocations: 0 / 0.4994 GB, free: 6.473 MB / 362.7 MB Notification: Performance of Templates: time 0.004/0.1331, allocations: 0.8677 MB / 0.5003 GB, free: 5.613 MB / 362.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.407494985964149]