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.0009645/0.0009645, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001296/0.001296, allocations: 169 kB / 23.02 MB, free: 1.543 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 1.072/1.072, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.02659/0.02659, allocations: 7.111 MB / 267.1 MB, free: 6.051 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.322e-06/1.322e-06, allocations: 0 / 339 MB, free: 10.95 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.416e-05, allocations: 10.19 kB / 339.1 MB, free: 10.94 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.ImprovedCircuit): time 0.004804/0.004828, allocations: 5.719 MB / 344.8 MB, free: 5.188 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.006911, allocations: 1.492 MB / 346.3 MB, free: 3.691 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003284/0.007239, allocations: 27.88 kB / 346.3 MB, free: 3.664 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.007536, allocations: 190.1 kB / 346.5 MB, free: 3.477 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003947/0.00793, allocations: 313.2 kB / 346.8 MB, free: 3.168 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.008453, allocations: 403.4 kB / 347.2 MB, free: 2.773 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008809/0.009334, allocations: 1.438 MB / 348.6 MB, free: 1.328 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.009832, allocations: 472.4 kB / 349.1 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005141/0.01035, allocations: 0.8071 MB / 349.9 MB, free: 36 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00041/0.01076, allocations: 446.7 kB / 350.3 MB, free: 15.6 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.01088, allocations: 172 kB / 350.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.011, allocations: 168 kB / 350.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.01116, allocations: 331 kB / 351 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002633/0.01142, allocations: 459 kB / 351.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006483/0.01207, allocations: 0.9538 MB / 352.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.01207, allocations: 0 / 352.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01207, allocations: 0 / 352.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.01208, allocations: 0 / 352.4 MB, free: 13.54 MB / 330.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.001276/0.01336, allocations: 1.419 MB / 353.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.01339, allocations: 11.97 kB / 353.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.01358, allocations: 220.1 kB / 354 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.01411, allocations: 0.5642 MB / 354.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.01415, allocations: 78.55 kB / 354.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.961e-05/0.01425, allocations: 124.3 kB / 354.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.01528, allocations: 1.261 MB / 356 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.01529, allocations: 3.938 kB / 356.1 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/0.01535, allocations: 48 kB / 356.1 MB, free: 9.555 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.01537, allocations: 24 kB / 356.1 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006041/0.01597, allocations: 418.2 kB / 356.5 MB, free: 9.109 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003066/0.01904, allocations: 3.487 MB / 360 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005543/0.01959, allocations: 422.4 kB / 360.4 MB, free: 5.016 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.01987, allocations: 216.9 kB / 360.6 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.0199, allocations: 16.64 kB / 360.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.01993, allocations: 46.05 kB / 360.7 MB, free: 4.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 1.643e-06/0.01993, allocations: 0 / 360.7 MB, free: 4.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.0008417/0.02077, allocations: 0.5904 MB / 361.3 MB, free: 4.129 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.036e-05/0.02086, allocations: 317.1 kB / 361.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.0212, allocations: 0.5101 MB / 362.1 MB, free: 3.219 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.02124, allocations: 41.7 kB / 362.2 MB, free: 3.172 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.02145, allocations: 0.5493 MB / 362.7 MB, free: 2.613 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.02155, allocations: 222.1 kB / 362.9 MB, free: 2.395 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.0217, allocations: 168.3 kB / 363.1 MB, free: 2.223 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.02183, allocations: 0.5391 MB / 363.6 MB, free: 1.672 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.02201, allocations: 117.9 kB / 363.7 MB, free: 1.559 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/0.0224, allocations: 0.7461 MB / 364.5 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.02287, allocations: 0.5696 MB / 365.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.02288, allocations: 3.938 kB / 365.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001234/0.02411, allocations: 0.8157 MB / 365.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.02414, allocations: 12.19 kB / 365.9 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.02415, allocations: 4 kB / 365.9 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009613/0.02511, allocations: 354.3 kB / 366.2 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.02547, allocations: 156 kB / 366.4 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004856/0.03033, allocations: 8.059 MB / 374.4 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006374/0.03097, allocations: 119.3 kB / 374.6 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.084e-05/0.03103, allocations: 32 kB / 374.6 MB, free: 5.793 MB / 346.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.0003362/0.03136, allocations: 223 kB / 374.8 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.03151, allocations: 91.58 kB / 374.9 MB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.03161, allocations: 73.73 kB / 375 MB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.03162, allocations: 8 kB / 375 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.03163, allocations: 8 kB / 375 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.03164, allocations: 3.984 kB / 375 MB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.03329, allocations: 1.242 MB / 376.2 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.03329, allocations: 0 / 376.2 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.03355, allocations: 115.9 kB / 376.3 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001824/0.03373, allocations: 79.34 kB / 376.4 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.03376, allocations: 15.98 kB / 376.4 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/0.03529, allocations: 3.866 MB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.03529, allocations: 0 / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.036, allocations: 0.7358 MB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.03606, allocations: 75.44 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.0361, allocations: 16 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.03632, allocations: 67.94 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/0.03642, allocations: 60.34 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.03644, allocations: 24 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002528/0.03669, allocations: 326.8 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03669, allocations: 0 / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006746/0.03737, allocations: 287.2 kB / 381.9 MB, free: 14.14 MB / 362.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.0001664/0.03753, allocations: 129.7 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.03864, allocations: 1.133 MB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.03864, allocations: 0 / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.039, allocations: 0.5467 MB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.03943, allocations: 140.1 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.04154, allocations: 1.554 MB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.04166, allocations: 176.1 kB / 385.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001964/0.04186, allocations: 77.2 kB / 385.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.01e-05/0.04195, allocations: 64.48 kB / 385.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 1.342e-06/0.04195, allocations: 0 / 385.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Templates: time 0.01592/0.05787, allocations: 11.41 MB / 397.1 MB, free: 14.9 MB / 378.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.571713148150593]