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.001314/0.001314, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001593/0.001593, allocations: 169 kB / 23.27 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.9627/0.9627, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.0315/0.0315, allocations: 7.123 MB / 267.4 MB, free: 5.91 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.353e-06/1.353e-06, allocations: 0 / 339.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.378e-05, allocations: 2.312 kB / 339.5 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.ImprovedCircuit): time 0.004024/0.004048, allocations: 5.62 MB / 345.1 MB, free: 3.965 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.006549, allocations: 1.488 MB / 346.6 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005265/0.007076, allocations: 27.88 kB / 346.6 MB, free: 2.445 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.007412, allocations: 182.2 kB / 346.8 MB, free: 2.266 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.007886, allocations: 325.1 kB / 347.1 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005354/0.008422, allocations: 399.5 kB / 347.5 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009196/0.009341, allocations: 1.438 MB / 349 MB, free: 116 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006051/0.009946, allocations: 472.4 kB / 349.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008128/0.01076, allocations: 0.8071 MB / 350.2 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005637/0.01132, allocations: 450.7 kB / 350.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.01151, allocations: 172 kB / 350.8 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.01164, allocations: 172 kB / 351 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.0118, allocations: 319 kB / 351.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003365/0.01214, allocations: 462.9 kB / 351.8 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007684/0.01291, allocations: 0.9499 MB / 352.7 MB, free: 12.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.01291, allocations: 0 / 352.7 MB, free: 12.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01291, allocations: 4 kB / 352.7 MB, free: 12.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.863e-05/0.01293, allocations: 0 / 352.7 MB, free: 12.32 MB / 282.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.001453/0.01439, allocations: 1.427 MB / 354.1 MB, free: 10.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.01442, allocations: 8.031 kB / 354.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.01462, allocations: 220.2 kB / 354.4 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005721/0.0152, allocations: 0.568 MB / 354.9 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.733e-05/0.01524, allocations: 82.55 kB / 355 MB, free: 9.945 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.01536, allocations: 116.4 kB / 355.1 MB, free: 9.832 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009572/0.01632, allocations: 1.206 MB / 356.3 MB, free: 8.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.01634, allocations: 3.938 kB / 356.3 MB, free: 8.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.789e-05/0.01639, allocations: 48 kB / 356.4 MB, free: 8.387 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.01641, allocations: 28 kB / 356.4 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.01683, allocations: 322.2 kB / 356.7 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003496/0.02032, allocations: 3.516 MB / 360.2 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/0.0208, allocations: 394.3 kB / 360.6 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.02101, allocations: 182 kB / 360.8 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.02104, allocations: 8.656 kB / 360.8 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.02107, allocations: 54.05 kB / 360.9 MB, free: 3.684 MB / 282.7 MB Notification: Performance of pre-optimization done (n=63): time 2.064e-06/0.02108, allocations: 0 / 360.9 MB, free: 3.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=63): time 0.0007449/0.02182, allocations: 0.5241 MB / 361.4 MB, free: 3.148 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.02192, allocations: 321.1 kB / 361.7 MB, free: 2.762 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.02226, allocations: 0.5098 MB / 362.2 MB, free: 2.234 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.0223, allocations: 41.7 kB / 362.3 MB, free: 2.188 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.02253, allocations: 0.5531 MB / 362.8 MB, free: 1.625 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.02265, allocations: 226.1 kB / 363 MB, free: 1.402 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.0228, allocations: 168.2 kB / 363.2 MB, free: 1.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.02295, allocations: 0.5468 MB / 363.7 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.02306, allocations: 85.92 kB / 363.8 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.02341, allocations: 0.7345 MB / 364.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004127/0.02382, allocations: 0.5305 MB / 365.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.02383, allocations: 3.938 kB / 365.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0009746/0.0248, allocations: 0.757 MB / 365.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.02482, allocations: 8 kB / 365.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.02483, allocations: 4 kB / 365.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000825/0.02566, allocations: 354.6 kB / 366.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.02594, allocations: 151.7 kB / 366.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004624/0.03056, allocations: 7.937 MB / 374.3 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.03095, allocations: 111.4 kB / 374.4 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.03098, allocations: 28 kB / 374.4 MB, free: 5.109 MB / 298.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.0003858/0.03137, allocations: 226.9 kB / 374.7 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.92e-05/0.03146, allocations: 87.58 kB / 374.7 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.177e-05/0.03152, allocations: 73.75 kB / 374.8 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.03152, allocations: 4 kB / 374.8 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.03153, allocations: 11.98 kB / 374.8 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.03154, allocations: 0 / 374.8 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.03267, allocations: 1.11 MB / 375.9 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.03267, allocations: 0 / 375.9 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.0329, allocations: 103.9 kB / 376 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001744/0.03308, allocations: 87.36 kB / 376.1 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.03311, allocations: 23.98 kB / 376.1 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.03484, allocations: 3.805 MB / 380 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.03484, allocations: 0 / 380 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006118/0.03545, allocations: 0.6849 MB / 380.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.03552, allocations: 75.38 kB / 380.7 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.03557, allocations: 16 kB / 380.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.03578, allocations: 71.94 kB / 380.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/0.03586, allocations: 56.41 kB / 380.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.03588, allocations: 19.98 kB / 380.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.03605, allocations: 302.7 kB / 381.2 MB, free: 14.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03605, allocations: 0 / 381.2 MB, free: 14.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006902/0.03674, allocations: 283.3 kB / 381.4 MB, free: 13.75 MB / 314.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.000132/0.03687, allocations: 129.8 kB / 381.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008311/0.0377, allocations: 1.097 MB / 382.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.0377, allocations: 1.438 kB / 382.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.03801, allocations: 0.5268 MB / 383.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.03848, allocations: 149.3 kB / 383.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.04096, allocations: 1.55 MB / 384.9 MB, free: 10.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.04109, allocations: 183.9 kB / 385.1 MB, free: 9.934 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002478/0.04134, allocations: 77.22 kB / 385.1 MB, free: 9.855 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005391/0.04188, allocations: 254.1 kB / 385.4 MB, free: 9.605 MB / 314.7 MB Notification: Performance of SimCode: time 1.263e-06/0.04188, allocations: 0 / 385.4 MB, free: 9.605 MB / 314.7 MB Notification: Performance of Templates: time 0.01708/0.05896, allocations: 11.74 MB / 397.1 MB, free: 14.07 MB / 330.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.076594391837716]