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.000953/0.000953, allocations: 81.86 kB / 19.87 MB, free: 4.625 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.0009829/0.0009829, allocations: 173.7 kB / 23.28 MB, free: 1.223 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 0.977/0.977, allocations: 177.1 MB / 203.7 MB, free: 5.535 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.02734/0.02734, allocations: 7.121 MB / 267.4 MB, free: 5.922 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.673e-06/1.673e-06, allocations: 0 / 339.5 MB, free: 10.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.734e-05, allocations: 2.312 kB / 339.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.IdealCircuit): time 0.003721/0.003748, allocations: 2.06 MB / 341.6 MB, free: 8.613 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.005038, allocations: 0.5413 MB / 342.1 MB, free: 8.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.005187, allocations: 4 kB / 342.1 MB, free: 8.066 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.005331, allocations: 23.72 kB / 342.1 MB, free: 8.043 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.00549, allocations: 63.48 kB / 342.2 MB, free: 7.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.005695, allocations: 35.95 kB / 342.2 MB, free: 7.945 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.005979, allocations: 207 kB / 342.4 MB, free: 7.742 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.006176, allocations: 49.89 kB / 342.5 MB, free: 7.695 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.006361, allocations: 111.8 kB / 342.6 MB, free: 7.586 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.006504, allocations: 59.8 kB / 342.6 MB, free: 7.527 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.006539, allocations: 20 kB / 342.7 MB, free: 7.508 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.516e-05/0.006574, allocations: 16 kB / 342.7 MB, free: 7.492 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.117e-05/0.006615, allocations: 47.83 kB / 342.7 MB, free: 7.445 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.262e-05/0.006688, allocations: 55.91 kB / 342.8 MB, free: 7.391 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.006901, allocations: 135.4 kB / 342.9 MB, free: 7.258 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006904, allocations: 0 / 342.9 MB, free: 7.258 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006905, allocations: 0 / 342.9 MB, free: 7.258 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.00691, allocations: 0 / 342.9 MB, free: 7.258 MB / 314.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.0006121/0.007522, allocations: 0.492 MB / 343.4 MB, free: 6.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.00757, allocations: 8.031 kB / 343.4 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.706e-05/0.007637, allocations: 40.8 kB / 343.5 MB, free: 6.684 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.007838, allocations: 156.4 kB / 343.6 MB, free: 6.504 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.007854, allocations: 8.375 kB / 343.6 MB, free: 6.496 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.00789, allocations: 16.38 kB / 343.6 MB, free: 6.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.008098, allocations: 135.4 kB / 343.8 MB, free: 6.336 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.008108, allocations: 0 / 343.8 MB, free: 6.336 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.008127, allocations: 15.98 kB / 343.8 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.008136, allocations: 4 kB / 343.8 MB, free: 6.316 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.68e-05/0.008232, allocations: 55.66 kB / 343.8 MB, free: 6.262 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008504/0.009083, allocations: 0.5566 MB / 344.4 MB, free: 5.668 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.009302, allocations: 98.91 kB / 344.5 MB, free: 5.559 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.009469, allocations: 79.62 kB / 344.6 MB, free: 5.477 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.009479, allocations: 4 kB / 344.6 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.009509, allocations: 37.39 kB / 344.6 MB, free: 5.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.973e-06/0.009511, allocations: 0 / 344.6 MB, free: 5.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002238/0.009735, allocations: 109.4 kB / 344.7 MB, free: 5.316 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.009766, allocations: 55.41 kB / 344.8 MB, free: 5.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.009893, allocations: 195.9 kB / 345 MB, free: 5.043 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.00991, allocations: 25.7 kB / 345 MB, free: 5.012 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.382e-05/0.01, allocations: 175 kB / 345.2 MB, free: 4.832 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.01005, allocations: 63.5 kB / 345.2 MB, free: 4.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.01011, allocations: 39.31 kB / 345.3 MB, free: 4.723 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.01026, allocations: 0.5 MB / 345.8 MB, free: 4.211 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-05/0.01029, allocations: 15.98 kB / 345.8 MB, free: 4.195 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.482e-05/0.01035, allocations: 43.34 kB / 345.8 MB, free: 4.145 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.699e-05/0.01045, allocations: 70.09 kB / 345.9 MB, free: 4.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01045, allocations: 0 / 345.9 MB, free: 4.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001701/0.01062, allocations: 113.5 kB / 346 MB, free: 3.953 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.01063, allocations: 4 kB / 346 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01064, allocations: 0 / 346 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.01066, allocations: 4 kB / 346 MB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.01083, allocations: 48 kB / 346 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.01083, allocations: 0 / 346 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.462e-05/0.01089, allocations: 15.89 kB / 346.1 MB, free: 3.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.0109, allocations: 4 kB / 346.1 MB, free: 3.879 MB / 314.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 9.421e-05/0.01099, allocations: 168.4 kB / 346.2 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.01103, allocations: 19.91 kB / 346.3 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.01107, allocations: 16.78 kB / 346.3 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01107, allocations: 0 / 346.3 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.01107, allocations: 0 / 346.3 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.01108, allocations: 3.984 kB / 346.3 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.01151, allocations: 377.6 kB / 346.6 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01151, allocations: 0 / 346.6 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.01169, allocations: 47.97 kB / 346.7 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.0117, allocations: 0 / 346.7 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.01171, allocations: 4 kB / 346.7 MB, free: 3.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.01171, allocations: 0 / 346.7 MB, free: 3.207 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01171, allocations: 0 / 346.7 MB, free: 3.207 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.012, allocations: 283.4 kB / 347 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.01202, allocations: 23.86 kB / 347 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.01204, allocations: 7.984 kB / 347 MB, free: 2.875 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/0.01214, allocations: 4 kB / 347 MB, free: 2.871 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.01216, allocations: 11.98 kB / 347 MB, free: 2.859 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.01217, allocations: 0 / 347 MB, free: 2.859 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.575e-05/0.01225, allocations: 146 kB / 347.2 MB, free: 2.719 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01225, allocations: 0 / 347.2 MB, free: 2.719 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003297/0.01258, allocations: 47.83 kB / 347.2 MB, free: 2.672 MB / 314.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 0.0001428/0.01272, allocations: 103.2 kB / 347.3 MB, free: 2.562 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.01288, allocations: 67.59 kB / 347.4 MB, free: 2.492 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.01288, allocations: 0 / 347.4 MB, free: 2.492 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.556e-05/0.01292, allocations: 35.67 kB / 347.4 MB, free: 2.453 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.01327, allocations: 23.91 kB / 347.4 MB, free: 2.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.01427, allocations: 454.6 kB / 347.9 MB, free: 1.953 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.479e-05/0.01432, allocations: 71.84 kB / 347.9 MB, free: 1.863 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.952e-05/0.01438, allocations: 13.14 kB / 348 MB, free: 1.852 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.01449, allocations: 94.19 kB / 348 MB, free: 1.758 MB / 314.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01449, allocations: 0 / 348 MB, free: 1.758 MB / 314.7 MB Notification: Performance of Templates: time 0.003776/0.01826, allocations: 1.299 MB / 349.3 MB, free: 0.4922 MB / 314.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.852851204108447]