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.001046/0.001046, allocations: 100.3 kB / 19.7 MB, free: 444 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.0009915/0.0009915, allocations: 210.8 kB / 23 MB, free: 2.957 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 0.9794/0.9794, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.02839/0.02839, allocations: 9.567 MB / 322.7 MB, free: 8.469 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.00171/0.00171, allocations: 71.89 kB / 449.1 MB, free: 38 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1101, allocations: 55.77 MB / 0.493 GB, free: 14.13 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestEMF): time 0.00272/0.1128, allocations: 2.004 MB / 0.495 GB, free: 12.11 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003091/0.1131, allocations: 103.6 kB / 0.4951 GB, free: 12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.894e-05/0.1132, allocations: 4 kB / 0.4951 GB, free: 12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 5.933e-05/0.1133, allocations: 27.78 kB / 0.4951 GB, free: 11.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.1135, allocations: 31.7 kB / 0.4951 GB, free: 11.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.264e-05/0.1135, allocations: 27.97 kB / 0.4952 GB, free: 11.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.1137, allocations: 131.3 kB / 0.4953 GB, free: 11.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.1138, allocations: 37.22 kB / 0.4953 GB, free: 11.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.114, allocations: 43.86 kB / 0.4954 GB, free: 11.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.695e-05/0.1141, allocations: 51.7 kB / 0.4954 GB, free: 11.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1141, allocations: 12 kB / 0.4954 GB, free: 11.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.679e-05/0.1141, allocations: 16 kB / 0.4954 GB, free: 11.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.1142, allocations: 23.92 kB / 0.4955 GB, free: 11.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.1142, allocations: 51.72 kB / 0.4955 GB, free: 11.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1144, allocations: 135.4 kB / 0.4956 GB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1144, allocations: 0 / 0.4956 GB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1144, allocations: 0 / 0.4956 GB, free: 11.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.1144, allocations: 0 / 0.4956 GB, free: 11.42 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.0004659/0.1149, allocations: 353.8 kB / 0.496 GB, free: 11.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1149, allocations: 12.03 kB / 0.496 GB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.1149, allocations: 16.84 kB / 0.496 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.1151, allocations: 146.3 kB / 0.4962 GB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1151, allocations: 8.375 kB / 0.4962 GB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.1151, allocations: 12.38 kB / 0.4962 GB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.1153, allocations: 125.8 kB / 0.4963 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1154, allocations: 0 / 0.4963 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1154, allocations: 8 kB / 0.4963 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1154, allocations: 4 kB / 0.4963 GB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.1155, allocations: 83.94 kB / 0.4964 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005539/0.1161, allocations: 403 kB / 0.4968 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.1162, allocations: 74.42 kB / 0.4968 GB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/0.1162, allocations: 28.83 kB / 0.4969 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.1163, allocations: 0 / 0.4969 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.1163, allocations: 42.5 kB / 0.4969 GB, free: 10.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1163, allocations: 0 / 0.4969 GB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002453/0.1165, allocations: 117.7 kB / 0.497 GB, free: 9.895 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.1166, allocations: 51.41 kB / 0.4971 GB, free: 9.832 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.49e-05/0.1166, allocations: 128 kB / 0.4972 GB, free: 9.699 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.1167, allocations: 33.64 kB / 0.4972 GB, free: 9.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.1167, allocations: 123.9 kB / 0.4973 GB, free: 9.535 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1167, allocations: 27.75 kB / 0.4974 GB, free: 9.508 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.1168, allocations: 29.7 kB / 0.4974 GB, free: 9.473 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.1169, allocations: 314.8 kB / 0.4977 GB, free: 9.156 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.756e-05/0.1169, allocations: 27.98 kB / 0.4977 GB, free: 9.129 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.696e-05/0.117, allocations: 68.16 kB / 0.4978 GB, free: 9.047 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1171, allocations: 92.2 kB / 0.4979 GB, free: 8.941 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1171, allocations: 7.938 kB / 0.4979 GB, free: 8.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001517/0.1173, allocations: 121.5 kB / 0.498 GB, free: 8.809 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1173, allocations: 6.344 kB / 0.498 GB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1173, allocations: 4 kB / 0.498 GB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1173, allocations: 0 / 0.498 GB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1174, allocations: 31.91 kB / 0.498 GB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1174, allocations: 4 kB / 0.498 GB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.568e-05/0.1175, allocations: 11.94 kB / 0.4981 GB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1175, allocations: 4 kB / 0.4981 GB, free: 8.75 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 7.719e-05/0.1175, allocations: 129.9 kB / 0.4982 GB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.1176, allocations: 3.953 kB / 0.4982 GB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.1176, allocations: 24.3 kB / 0.4982 GB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.1176, allocations: 0 / 0.4982 GB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1176, allocations: 0 / 0.4982 GB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1176, allocations: 0 / 0.4982 GB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.1177, allocations: 149.2 kB / 0.4984 GB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1177, allocations: 0 / 0.4984 GB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.4e-05/0.1178, allocations: 19.98 kB / 0.4984 GB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1178, allocations: 4 kB / 0.4984 GB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1178, allocations: 4 kB / 0.4984 GB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1178, allocations: 0 / 0.4984 GB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1178, allocations: 3.938 kB / 0.4984 GB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1181, allocations: 219.4 kB / 0.4986 GB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.44e-05/0.1181, allocations: 11.92 kB / 0.4986 GB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.1181, allocations: 3.938 kB / 0.4986 GB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.027e-05/0.1182, allocations: 7.984 kB / 0.4986 GB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.1182, allocations: 11.97 kB / 0.4986 GB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.1182, allocations: 4 kB / 0.4986 GB, free: 8.105 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.532e-05/0.1182, allocations: 99.33 kB / 0.4987 GB, free: 8.008 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1182, allocations: 0 / 0.4987 GB, free: 8.008 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000173/0.1184, allocations: 31.89 kB / 0.4988 GB, free: 7.977 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 8.303e-05/0.1185, allocations: 91.25 kB / 0.4988 GB, free: 7.879 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.1187, allocations: 75.88 kB / 0.4989 GB, free: 7.805 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1187, allocations: 0 / 0.4989 GB, free: 7.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.592e-05/0.1187, allocations: 36.17 kB / 0.4989 GB, free: 7.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.1189, allocations: 13.42 kB / 0.499 GB, free: 7.758 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005683/0.1195, allocations: 395.8 kB / 0.4993 GB, free: 7.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.255e-05/0.1196, allocations: 101 kB / 0.4994 GB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.1196, allocations: 11.44 kB / 0.4994 GB, free: 7.211 MB / 362.7 MB Notification: Performance of SimCode: time 8.91e-07/0.1196, allocations: 0 / 0.4994 GB, free: 7.211 MB / 362.7 MB Notification: Performance of Templates: time 0.002366/0.122, allocations: 1.311 MB / 0.5007 GB, free: 5.898 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 > ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.966363204177469]