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.0009848/0.0009848, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.0008773/0.0008773, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9311/0.9311, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.03057/0.03057, allocations: 7.115 MB / 268.2 MB, free: 5.898 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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 339.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094e-05/1.233e-05, allocations: 2.312 kB / 339.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.IdealCircuit): time 0.001672/0.001685, allocations: 2.06 MB / 341.5 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000553/0.002238, allocations: 0.5297 MB / 342.1 MB, free: 7.832 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.607e-05/0.002314, allocations: 4 kB / 342.1 MB, free: 7.828 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.002424, allocations: 27.72 kB / 342.1 MB, free: 7.801 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.066e-05/0.002505, allocations: 51.5 kB / 342.1 MB, free: 7.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.002616, allocations: 43.88 kB / 342.2 MB, free: 7.707 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.002744, allocations: 207 kB / 342.4 MB, free: 7.504 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.002856, allocations: 49.95 kB / 342.4 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.62e-05/0.002933, allocations: 115.8 kB / 342.5 MB, free: 7.344 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.449e-05/0.003017, allocations: 55.81 kB / 342.6 MB, free: 7.289 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.00304, allocations: 16 kB / 342.6 MB, free: 7.273 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.842e-05/0.003058, allocations: 16 kB / 342.6 MB, free: 7.258 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.003082, allocations: 43.83 kB / 342.7 MB, free: 7.215 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.003118, allocations: 67.83 kB / 342.7 MB, free: 7.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.003235, allocations: 123.6 kB / 342.9 MB, free: 7.027 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.003237, allocations: 0 / 342.9 MB, free: 7.027 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.6e-07/0.003237, allocations: 0 / 342.9 MB, free: 7.027 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.003241, allocations: 0 / 342.9 MB, free: 7.027 MB / 266.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.0003324/0.003573, allocations: 0.4959 MB / 343.4 MB, free: 6.496 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.711e-05/0.0036, allocations: 16.02 kB / 343.4 MB, free: 6.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.003637, allocations: 32.8 kB / 343.4 MB, free: 6.449 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.00374, allocations: 156.4 kB / 343.6 MB, free: 6.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.098e-06/0.003749, allocations: 12.31 kB / 343.6 MB, free: 6.258 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.00377, allocations: 24.31 kB / 343.6 MB, free: 6.234 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.003885, allocations: 139.4 kB / 343.7 MB, free: 6.086 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.003893, allocations: 4 kB / 343.7 MB, free: 6.082 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.003905, allocations: 8 kB / 343.7 MB, free: 6.074 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.00391, allocations: 4 kB / 343.7 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.37e-05/0.003964, allocations: 55.72 kB / 343.8 MB, free: 6.016 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/0.004478, allocations: 0.5449 MB / 344.3 MB, free: 5.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.004629, allocations: 95.02 kB / 344.4 MB, free: 5.324 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.605e-05/0.004725, allocations: 83.61 kB / 344.5 MB, free: 5.238 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.004733, allocations: 4 kB / 344.5 MB, free: 5.234 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.284e-05/0.004746, allocations: 37.39 kB / 344.6 MB, free: 5.188 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.004747, allocations: 0 / 344.6 MB, free: 5.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001368/0.004884, allocations: 109 kB / 344.7 MB, free: 5.078 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.503e-05/0.004899, allocations: 59.34 kB / 344.7 MB, free: 5.008 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.087e-05/0.00495, allocations: 193 kB / 344.9 MB, free: 4.805 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.004957, allocations: 29.7 kB / 344.9 MB, free: 4.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.004995, allocations: 183 kB / 345.1 MB, free: 4.586 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.005015, allocations: 55.52 kB / 345.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.005047, allocations: 39.34 kB / 345.2 MB, free: 4.484 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.816e-05/0.005085, allocations: 0.4922 MB / 345.7 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.005103, allocations: 15.98 kB / 345.7 MB, free: 3.965 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/0.005131, allocations: 47.3 kB / 345.8 MB, free: 3.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.037e-05/0.005182, allocations: 67.34 kB / 345.8 MB, free: 3.836 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.005184, allocations: 0 / 345.8 MB, free: 3.836 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 9.083e-05/0.005274, allocations: 120.9 kB / 346 MB, free: 3.715 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/0.005284, allocations: 4 kB / 346 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.005288, allocations: 3.938 kB / 346 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.005296, allocations: 4 kB / 346 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.005397, allocations: 47.91 kB / 346 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.005399, allocations: 0 / 346 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.714e-05/0.005427, allocations: 11.95 kB / 346 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.005432, allocations: 4 kB / 346 MB, free: 3.641 MB / 266.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 4.318e-05/0.005475, allocations: 160.5 kB / 346.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.005495, allocations: 19.98 kB / 346.2 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.005517, allocations: 16.78 kB / 346.2 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.005518, allocations: 0 / 346.2 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.00552, allocations: 7.938 kB / 346.2 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.005523, allocations: 3.984 kB / 346.2 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.005733, allocations: 373.5 kB / 346.6 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005734, allocations: 0 / 346.6 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.005834, allocations: 47.91 kB / 346.6 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.005836, allocations: 0 / 346.6 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.005844, allocations: 8.031 kB / 346.7 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005845, allocations: 7.922 kB / 346.7 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.005846, allocations: 0 / 346.7 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.005966, allocations: 287.4 kB / 346.9 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.005976, allocations: 11.95 kB / 347 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.005988, allocations: 0 / 347 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.858e-05/0.006036, allocations: 7.984 kB / 347 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.006049, allocations: 11.98 kB / 347 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.006053, allocations: 0 / 347 MB, free: 2.625 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.491e-05/0.006078, allocations: 143.2 kB / 347.1 MB, free: 2.484 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006078, allocations: 4 kB / 347.1 MB, free: 2.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001531/0.006231, allocations: 47.83 kB / 347.2 MB, free: 2.434 MB / 266.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 5.012e-05/0.006281, allocations: 95.25 kB / 347.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.601e-05/0.006357, allocations: 70.33 kB / 347.3 MB, free: 2.262 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.006361, allocations: 0 / 347.3 MB, free: 2.262 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.299e-05/0.006384, allocations: 39.61 kB / 347.4 MB, free: 2.219 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.006556, allocations: 22.3 kB / 347.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005486/0.007104, allocations: 494.3 kB / 347.9 MB, free: 1.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.257e-05/0.007147, allocations: 115.9 kB / 348 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.007212, allocations: 94.19 kB / 348.1 MB, free: 1.445 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.007212, allocations: 4 kB / 348.1 MB, free: 1.441 MB / 266.7 MB Notification: Performance of Templates: time 0.001743/0.008955, allocations: 1.837 MB / 349.9 MB, free: 15.61 MB / 282.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: 3.4570398898795247]