Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.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.00142/0.00142, allocations: 100.4 kB / 19.7 MB, free: 440 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.001539/0.001539, allocations: 211.6 kB / 22.99 MB, free: 2.961 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.957/0.957, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.02833/0.02833, allocations: 9.554 MB / 322.7 MB, free: 8.465 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.ChuasMemristor.IdealCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit") translateModel(ChaoticCircuits.ChuasMemristor.IdealCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit") [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.001997/0.001997, allocations: 67.89 kB / 449.1 MB, free: 38.01 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08833/0.09033, allocations: 55.78 MB / 0.493 GB, free: 14.12 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.IdealCircuit): time 0.002545/0.09287, allocations: 1.964 MB / 0.4949 GB, free: 12.14 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007896/0.09366, allocations: 0.5065 MB / 0.4954 GB, free: 11.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.09376, allocations: 8 kB / 0.4954 GB, free: 11.63 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.09391, allocations: 27.7 kB / 0.4955 GB, free: 11.6 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.74e-05/0.09401, allocations: 55.48 kB / 0.4955 GB, free: 11.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.09417, allocations: 39.95 kB / 0.4956 GB, free: 11.51 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.09436, allocations: 191.1 kB / 0.4957 GB, free: 11.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.09452, allocations: 49.97 kB / 0.4958 GB, free: 11.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.206e-05/0.09459, allocations: 75.72 kB / 0.4959 GB, free: 11.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.0947, allocations: 71.62 kB / 0.4959 GB, free: 11.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.09473, allocations: 20 kB / 0.496 GB, free: 11.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.838e-05/0.09476, allocations: 20 kB / 0.496 GB, free: 11.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.09479, allocations: 43.83 kB / 0.496 GB, free: 11.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.078e-05/0.09485, allocations: 75.66 kB / 0.4961 GB, free: 10.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.09505, allocations: 195.2 kB / 0.4963 GB, free: 10.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.09505, allocations: 0 / 0.4963 GB, free: 10.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.09505, allocations: 0 / 0.4963 GB, free: 10.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.09506, allocations: 0 / 0.4963 GB, free: 10.78 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005434/0.09561, allocations: 397.5 kB / 0.4967 GB, free: 10.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.09565, allocations: 12.03 kB / 0.4967 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.0957, allocations: 20.8 kB / 0.4967 GB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.09592, allocations: 158.3 kB / 0.4968 GB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.09593, allocations: 16.31 kB / 0.4968 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.09596, allocations: 19.94 kB / 0.4969 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.09619, allocations: 179.1 kB / 0.497 GB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.0962, allocations: 7.922 kB / 0.497 GB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.09622, allocations: 4 kB / 0.497 GB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.09622, allocations: 4 kB / 0.4971 GB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.09636, allocations: 111.7 kB / 0.4972 GB, free: 9.805 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.0971, allocations: 0.5367 MB / 0.4977 GB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.09737, allocations: 114.5 kB / 0.4978 GB, free: 9.102 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.09755, allocations: 92.8 kB / 0.4979 GB, free: 9.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.09756, allocations: 4 kB / 0.4979 GB, free: 9.004 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.09758, allocations: 34.56 kB / 0.4979 GB, free: 8.961 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.155e-06/0.09758, allocations: 0 / 0.4979 GB, free: 8.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002629/0.09784, allocations: 152.9 kB / 0.4981 GB, free: 8.809 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.09787, allocations: 51.41 kB / 0.4981 GB, free: 8.746 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/0.09797, allocations: 144 kB / 0.4983 GB, free: 8.598 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.09799, allocations: 29.7 kB / 0.4983 GB, free: 8.562 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.09805, allocations: 128.2 kB / 0.4984 GB, free: 8.434 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.09808, allocations: 55.59 kB / 0.4985 GB, free: 8.379 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.09812, allocations: 29.72 kB / 0.4985 GB, free: 8.344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.211e-05/0.09821, allocations: 322.8 kB / 0.4988 GB, free: 8.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.993e-05/0.09826, allocations: 35.98 kB / 0.4988 GB, free: 7.984 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/0.09832, allocations: 61.64 kB / 0.4989 GB, free: 7.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.09842, allocations: 92.62 kB / 0.499 GB, free: 7.824 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.09843, allocations: 0 / 0.499 GB, free: 7.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001556/0.09858, allocations: 145.5 kB / 0.4991 GB, free: 7.676 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.0986, allocations: 4 kB / 0.4991 GB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.0986, allocations: 4.031 kB / 0.4991 GB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.09862, allocations: 7.984 kB / 0.4991 GB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.09875, allocations: 47.91 kB / 0.4992 GB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.09876, allocations: 7.875 kB / 0.4992 GB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.554e-05/0.09879, allocations: 15.89 kB / 0.4992 GB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.0988, allocations: 8 kB / 0.4992 GB, free: 7.582 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * 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 8.016e-05/0.09888, allocations: 121.8 kB / 0.4993 GB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.0989, allocations: 11.95 kB / 0.4993 GB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.09893, allocations: 16.72 kB / 0.4993 GB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.09893, allocations: 11.98 kB / 0.4994 GB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.09894, allocations: 3.938 kB / 0.4994 GB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.09894, allocations: 0 / 0.4994 GB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003482/0.09929, allocations: 378.9 kB / 0.4997 GB, free: 7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.09929, allocations: 4 kB / 0.4997 GB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.09942, allocations: 39.98 kB / 0.4998 GB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.09942, allocations: 0 / 0.4998 GB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.09943, allocations: 7.938 kB / 0.4998 GB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.09944, allocations: 3.984 kB / 0.4998 GB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.09944, allocations: 4.031 kB / 0.4998 GB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.09967, allocations: 268.2 kB / 0.5 GB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.09969, allocations: 11.98 kB / 0.5 GB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.0997, allocations: 3.938 kB / 0.5 GB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.823e-05/0.09976, allocations: 8 kB / 0.5001 GB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.09979, allocations: 7.984 kB / 0.5001 GB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.09979, allocations: 4 kB / 0.5001 GB, free: 6.625 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.138e-05/0.09984, allocations: 106.5 kB / 0.5002 GB, free: 6.523 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09984, allocations: 0 / 0.5002 GB, free: 6.523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.1, allocations: 43.89 kB / 0.5002 GB, free: 6.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (inductor.i,capacitor1.v,capacitor2.v,memristor.x) * 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 (13): * Single equations (assignments): 13 * 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.666e-05/0.1001, allocations: 103.2 kB / 0.5003 GB, free: 6.371 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.1003, allocations: 87.91 kB / 0.5004 GB, free: 6.285 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1003, allocations: 0 / 0.5004 GB, free: 6.285 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.1003, allocations: 39.92 kB / 0.5004 GB, free: 6.246 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.1005, allocations: 16 kB / 0.5004 GB, free: 6.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007352/0.1013, allocations: 0.5654 MB / 0.501 GB, free: 5.625 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.954e-05/0.1013, allocations: 107.9 kB / 0.5011 GB, free: 5.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.1014, allocations: 23.36 kB / 0.5011 GB, free: 5.477 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1014, allocations: 0 / 0.5011 GB, free: 5.477 MB / 362.7 MB Notification: Performance of Templates: time 0.002676/0.104, allocations: 1.833 MB / 0.5029 GB, free: 3.645 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.sim & ./ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit > ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8612791751511395]