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.001068/0.001068, allocations: 88.42 kB / 19.94 MB, free: 4.605 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.0016/0.0016, allocations: 173.9 kB / 23.21 MB, free: 1.324 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.9343/0.9343, allocations: 177.1 MB / 203.5 MB, free: 5.77 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.02593/0.02593, allocations: 7.117 MB / 267.1 MB, free: 6.273 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.543e-06/1.543e-06, allocations: 0 / 393.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.712e-05, allocations: 2.281 kB / 393.5 MB, free: 3.547 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.IdealCircuit): time 0.005707/0.005734, allocations: 1.964 MB / 395.4 MB, free: 1.566 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007841/0.006518, allocations: 0.5142 MB / 395.9 MB, free: 1.051 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.848e-05/0.006616, allocations: 4 kB / 395.9 MB, free: 1.047 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.006742, allocations: 23.78 kB / 396 MB, free: 1.023 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.006859, allocations: 59.42 kB / 396 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.007006, allocations: 39.94 kB / 396.1 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.007216, allocations: 210.8 kB / 396.3 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.007374, allocations: 45.97 kB / 396.3 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.007493, allocations: 115.7 kB / 396.4 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.007605, allocations: 63.86 kB / 396.5 MB, free: 0.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003048/0.01065, allocations: 16 kB / 396.5 MB, free: 496 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.614e-05/0.01068, allocations: 16 kB / 396.5 MB, free: 480 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.01071, allocations: 43.83 kB / 396.6 MB, free: 436 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.397e-05/0.01078, allocations: 59.84 kB / 396.6 MB, free: 376 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.011, allocations: 199.3 kB / 396.8 MB, free: 176 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.011, allocations: 0 / 396.8 MB, free: 176 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.011, allocations: 0 / 396.8 MB, free: 176 kB / 314.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.01101, allocations: 0 / 396.8 MB, free: 176 kB / 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.0005693/0.01158, allocations: 408.4 kB / 397.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.01162, allocations: 8.031 kB / 397.2 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.01167, allocations: 24.8 kB / 397.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.01187, allocations: 149.5 kB / 397.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.01189, allocations: 12.38 kB / 397.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.01192, allocations: 20.31 kB / 397.4 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.01216, allocations: 179.4 kB / 397.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.01217, allocations: 0 / 397.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.01219, allocations: 12 kB / 397.6 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.0122, allocations: 8 kB / 397.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.01237, allocations: 111.7 kB / 397.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.01339, allocations: 0.5412 MB / 398.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003283/0.01667, allocations: 110.5 kB / 398.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.01686, allocations: 100.7 kB / 398.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.01687, allocations: 0 / 398.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.01689, allocations: 38.56 kB / 398.5 MB, free: 14.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.01689, allocations: 0 / 398.5 MB, free: 14.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002575/0.01715, allocations: 141.8 kB / 398.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.01718, allocations: 51.41 kB / 398.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/0.01728, allocations: 144.3 kB / 398.8 MB, free: 13.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.01729, allocations: 33.7 kB / 398.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.01735, allocations: 132.3 kB / 399 MB, free: 13.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.01738, allocations: 47.59 kB / 399.1 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/0.01743, allocations: 37.7 kB / 399.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.01752, allocations: 326.8 kB / 399.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.029e-05/0.01758, allocations: 31.98 kB / 399.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.7e-05/0.01766, allocations: 53.7 kB / 399.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.0178, allocations: 96.36 kB / 399.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.0178, allocations: 0 / 399.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000208/0.01801, allocations: 145.4 kB / 399.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.01802, allocations: 12.03 kB / 399.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01803, allocations: 0 / 399.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.01804, allocations: 3.984 kB / 399.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.01822, allocations: 43.92 kB / 399.8 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.01822, allocations: 4 kB / 399.8 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.01827, allocations: 11.89 kB / 399.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.01828, allocations: 7.938 kB / 399.8 MB, free: 12.98 MB / 330.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.735e-05/0.01837, allocations: 129.8 kB / 399.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.0184, allocations: 11.95 kB / 399.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.01844, allocations: 20.78 kB / 400 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01844, allocations: 0 / 400 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.01844, allocations: 4 kB / 400 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.01845, allocations: 0 / 400 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.0189, allocations: 386.8 kB / 400.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.0189, allocations: 0 / 400.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.01909, allocations: 47.91 kB / 400.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.01909, allocations: 0 / 400.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.0191, allocations: 0 / 400.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.01911, allocations: 8.031 kB / 400.4 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.01911, allocations: 3.938 kB / 400.4 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003306/0.02241, allocations: 256.3 kB / 400.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.02243, allocations: 11.95 kB / 400.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.02245, allocations: 4 kB / 400.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.821e-05/0.02254, allocations: 8 kB / 400.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.02256, allocations: 23.83 kB / 400.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.02257, allocations: 4 kB / 400.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.588e-05/0.02263, allocations: 104.8 kB / 400.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02263, allocations: 0 / 400.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002549/0.02288, allocations: 47.89 kB / 400.9 MB, free: 11.86 MB / 330.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.912e-05/0.02297, allocations: 99.25 kB / 401 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.02312, allocations: 94.72 kB / 401 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02313, allocations: 0 / 401 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.971e-05/0.02318, allocations: 39.92 kB / 401.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.02348, allocations: 22.94 kB / 401.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007903/0.02427, allocations: 472.5 kB / 401.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.227e-05/0.02437, allocations: 116.1 kB / 401.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.02441, allocations: 16.5 kB / 401.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02441, allocations: 0 / 401.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of Templates: time 0.00606/0.03047, allocations: 1.834 MB / 403.5 MB, free: 9.129 MB / 330.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.6617851397022605]