Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.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.0009288/0.0009288, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00125/0.002179, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007033/0.0007033, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009866/0.00169, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.102/1.102, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1076/1.209, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.03663/0.03663, allocations: 7.103 MB / 251.3 MB, free: 7.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02659/0.06321, allocations: 2.853 MB / 254.1 MB, free: 4.914 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.ImprovedCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit") translateModel(ChaoticCircuits.ChuasMemristor.ImprovedCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 255.4 MB, free: 3.641 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.803e-05, allocations: 2.312 kB / 255.4 MB, free: 3.637 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.ImprovedCircuit): time 0.00773/0.007758, allocations: 5.704 MB / 261.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00481/0.01257, allocations: 1.581 MB / 262.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.01406, allocations: 27.88 kB / 262.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007792/0.01484, allocations: 186.1 kB / 262.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.01641, allocations: 317.1 kB / 263.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.01755, allocations: 395.5 kB / 263.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00236/0.01991, allocations: 1.43 MB / 265 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.02098, allocations: 496.3 kB / 265.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.02262, allocations: 0.8746 MB / 266.4 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.0237, allocations: 454.7 kB / 266.8 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005841/0.02428, allocations: 168 kB / 267 MB, free: 7.965 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.02469, allocations: 172 kB / 267.1 MB, free: 7.797 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000332/0.02502, allocations: 251.3 kB / 267.4 MB, free: 7.551 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006348/0.02565, allocations: 383.3 kB / 267.8 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.02717, allocations: 0.8799 MB / 268.6 MB, free: 6.293 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.419e-05/0.0272, allocations: 0 / 268.6 MB, free: 6.293 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.998e-06/0.0272, allocations: 0 / 268.6 MB, free: 6.293 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.254e-05/0.02728, allocations: 0 / 268.6 MB, free: 6.293 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003033/0.03032, allocations: 1.528 MB / 270.2 MB, free: 4.734 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.03038, allocations: 12.58 kB / 270.2 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003326/0.03071, allocations: 172.8 kB / 270.3 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008791/0.03159, allocations: 407 kB / 270.7 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.32e-05/0.03167, allocations: 82.55 kB / 270.8 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.03183, allocations: 116.4 kB / 270.9 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.03336, allocations: 1.196 MB / 272.1 MB, free: 2.562 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.03339, allocations: 3.938 kB / 272.1 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.791e-05/0.03346, allocations: 48 kB / 272.2 MB, free: 2.512 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.03349, allocations: 28 kB / 272.2 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006904/0.03418, allocations: 278.4 kB / 272.5 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1977/0.2319, allocations: 2.934 MB / 275.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006875/0.2326, allocations: 343.5 kB / 275.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003382/0.2359, allocations: 169.6 kB / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.866e-05/0.236, allocations: 14.3 kB / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.236, allocations: 46.3 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 3.446e-06/0.236, allocations: 0.5469 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.001177/0.2372, allocations: 440.6 kB / 276.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.2373, allocations: 59.62 kB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.2377, allocations: 457.2 kB / 276.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.2378, allocations: 40.86 kB / 277 MB, free: 14.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.238, allocations: 478.6 kB / 277.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.2382, allocations: 220.5 kB / 277.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.2384, allocations: 164.1 kB / 277.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2385, allocations: 380.3 kB / 278.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002781/0.2413, allocations: 75.64 kB / 278.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.2417, allocations: 0.614 MB / 278.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006301/0.2423, allocations: 489.2 kB / 279.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.2423, allocations: 1.094 kB / 279.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001356/0.2437, allocations: 0.6231 MB / 280 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.2437, allocations: 11.59 kB / 280 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.2437, allocations: 7.172 kB / 280 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.2451, allocations: 330.3 kB / 280.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/0.2457, allocations: 197 kB / 280.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003742/0.2494, allocations: 5.536 MB / 286 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.2499, allocations: 115.7 kB / 286.1 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.2499, allocations: 28.55 kB / 286.2 MB, free: 7.574 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 (memristor.opAmp2.limiter.satNeg,memristor.opAmp2.limiter.satPos,memristor.multiplier2.limiter2.satNeg,memristor.multiplier2.limiter2.satPos,memristor.multiplier2.limiter1.satNeg,memristor.multiplier2.limiter1.satPos,memristor.multiplier1.limiter2.satNeg,memristor.multiplier1.limiter2.satPos,memristor.multiplier1.limiter1.satNeg,memristor.multiplier1.limiter1.satPos,memristor.opAmp1.limiter.satNeg,memristor.opAmp1.limiter.satPos,memristor.opAmp1_1.limiter.satNeg,memristor.opAmp1_1.limiter.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,6), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002891/0.2502, allocations: 180.7 kB / 286.3 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.2503, allocations: 67.73 kB / 286.4 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.706e-05/0.2504, allocations: 73.06 kB / 286.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.2504, allocations: 7 kB / 286.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.279e-05/0.2504, allocations: 7.5 kB / 286.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.2504, allocations: 5.094 kB / 286.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.252, allocations: 0.8471 MB / 287.3 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.252, allocations: 1.188 kB / 287.3 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.2525, allocations: 133.2 kB / 287.5 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.022e-05/0.2525, allocations: 62.8 kB / 287.5 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000194/0.2527, allocations: 81.16 kB / 287.6 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/0.2528, allocations: 14.52 kB / 287.6 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.2539, allocations: 2.595 MB / 290.2 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.2539, allocations: 1.375 kB / 290.2 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006919/0.2546, allocations: 0.5323 MB / 290.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.2546, allocations: 17.75 kB / 290.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.2549, allocations: 68.8 kB / 290.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.255, allocations: 60 kB / 290.9 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.255, allocations: 13.8 kB / 290.9 MB, free: 4.469 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002304/0.2552, allocations: 188.6 kB / 291.1 MB, free: 4.449 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2552, allocations: 0 / 291.1 MB, free: 4.449 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008724/0.2561, allocations: 288.1 kB / 291.4 MB, free: 4.395 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (inductor.i,capacitor1.v,capacitor2.v,memristor.opAmp1_1.firstOrder.y,memristor.opAmp1.firstOrder.y,memristor.capacitor.v,memristor.opAmp2.firstOrder.y) * Number of discrete variables: 14 (memristor.opAmp1_1.limiter.satPos,memristor.opAmp1_1.limiter.satNeg,memristor.opAmp1.limiter.satPos,memristor.opAmp1.limiter.satNeg,memristor.multiplier1.limiter1.satPos,memristor.multiplier1.limiter1.satNeg,memristor.multiplier1.limiter2.satPos,memristor.multiplier1.limiter2.satNeg,memristor.multiplier2.limiter1.satPos,memristor.multiplier2.limiter1.satNeg,memristor.multiplier2.limiter2.satPos,memristor.multiplier2.limiter2.satNeg,memristor.opAmp2.limiter.satPos,memristor.opAmp2.limiter.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001499/0.2563, allocations: 111.7 kB / 291.5 MB, free: 4.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009434/0.2572, allocations: 0.8605 MB / 292.4 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.307e-05/0.2572, allocations: 21.86 kB / 292.4 MB, free: 3.824 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005294/0.2578, allocations: 440.5 kB / 292.8 MB, free: 3.582 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006936/0.2585, allocations: 1.12 MB / 293.9 MB, free: 2.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004457/0.2629, allocations: 1.559 MB / 295.5 MB, free: 1.754 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.2631, allocations: 180 kB / 295.7 MB, free: 1.676 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002928/0.2634, allocations: 83.38 kB / 295.7 MB, free: 1.656 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.2637, allocations: 235.9 kB / 296 MB, free: 1.609 MB / 266.7 MB Notification: Performance of SimCode: time 1.473e-06/0.2637, allocations: 4 kB / 296 MB, free: 1.605 MB / 266.7 MB Notification: Performance of Templates: time 0.01936/0.2831, allocations: 12.85 MB / 308.8 MB, free: 7.547 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.sim & ./ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.ChuasMemristor.ImprovedCircuit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5977747682482]