Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.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.001647/0.001647, 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.002015/0.002015, 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 1.044/1.044, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.03514/0.03514, allocations: 7.126 MB / 267.4 MB, free: 5.918 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.Test.MemristorTestSine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine") translateModel(ChaoticCircuits.Test.MemristorTestSine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 339.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.089e-05, allocations: 2.312 kB / 339.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSine): time 0.002309/0.00233, allocations: 1.97 MB / 341.5 MB, free: 8.691 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007038/0.003034, allocations: 0.5219 MB / 342 MB, free: 8.168 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.578e-05/0.00311, allocations: 0 / 342 MB, free: 8.168 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.781e-05/0.003158, allocations: 15.86 kB / 342 MB, free: 8.152 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.003278, allocations: 35.64 kB / 342.1 MB, free: 8.117 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.003524, allocations: 39.89 kB / 342.1 MB, free: 8.078 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.003705, allocations: 127.4 kB / 342.2 MB, free: 7.953 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.003859, allocations: 21.23 kB / 342.2 MB, free: 7.934 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.00411, allocations: 75.81 kB / 342.3 MB, free: 7.859 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.004221, allocations: 35.89 kB / 342.3 MB, free: 7.824 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.004246, allocations: 12 kB / 342.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.537e-05/0.004302, allocations: 23.98 kB / 342.4 MB, free: 7.789 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.004322, allocations: 19.86 kB / 342.4 MB, free: 7.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.004357, allocations: 35.92 kB / 342.4 MB, free: 7.734 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.004517, allocations: 91.64 kB / 342.5 MB, free: 7.645 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.00452, allocations: 0 / 342.5 MB, free: 7.645 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.004522, allocations: 0 / 342.5 MB, free: 7.645 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.004528, allocations: 0 / 342.5 MB, free: 7.645 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004539/0.004982, allocations: 444.1 kB / 343 MB, free: 7.176 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.005022, allocations: 12.02 kB / 343 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.998e-05/0.005122, allocations: 28.83 kB / 343 MB, free: 7.137 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.005252, allocations: 148.4 kB / 343.1 MB, free: 6.965 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.005262, allocations: 8.375 kB / 343.1 MB, free: 6.957 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.00528, allocations: 4.375 kB / 343.2 MB, free: 6.953 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.005399, allocations: 82.92 kB / 343.2 MB, free: 6.863 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.005407, allocations: 3.938 kB / 343.2 MB, free: 6.859 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.005417, allocations: 7.984 kB / 343.2 MB, free: 6.852 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.005423, allocations: 7.938 kB / 343.3 MB, free: 6.844 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.432e-05/0.005467, allocations: 23.97 kB / 343.3 MB, free: 6.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.005894, allocations: 391.2 kB / 343.7 MB, free: 6.406 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.468e-05/0.005989, allocations: 47.05 kB / 343.7 MB, free: 6.348 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.006019, allocations: 23.75 kB / 343.7 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.006042, allocations: 0 / 343.7 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.006067, allocations: 37.39 kB / 343.8 MB, free: 6.273 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.006069, allocations: 0 / 343.8 MB, free: 6.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001788/0.006248, allocations: 73.73 kB / 343.8 MB, free: 6.195 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.006282, allocations: 51.41 kB / 343.9 MB, free: 6.133 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.006398, allocations: 204.7 kB / 344.1 MB, free: 5.918 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.00641, allocations: 25.7 kB / 344.1 MB, free: 5.887 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.006484, allocations: 166.9 kB / 344.3 MB, free: 5.715 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.006501, allocations: 19.78 kB / 344.3 MB, free: 5.695 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.006538, allocations: 27.38 kB / 344.3 MB, free: 5.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.006664, allocations: 0.4923 MB / 344.8 MB, free: 5.156 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.006685, allocations: 7.984 kB / 344.8 MB, free: 5.148 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.006938, allocations: 35.05 kB / 344.9 MB, free: 5.102 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.183e-05/0.007, allocations: 50.98 kB / 344.9 MB, free: 5.039 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.007002, allocations: 4 kB / 344.9 MB, free: 5.035 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001029/0.007105, allocations: 81.55 kB / 345 MB, free: 4.949 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.007123, allocations: 8.625 kB / 345 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.007129, allocations: 3.984 kB / 345 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.00714, allocations: 0 / 345 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.852e-05/0.007239, allocations: 19.94 kB / 345 MB, free: 4.918 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.007244, allocations: 3.938 kB / 345 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.415e-05/0.007278, allocations: 15.94 kB / 345 MB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.007287, allocations: 4 kB / 345 MB, free: 4.895 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 7.5e-05/0.007362, allocations: 156.6 kB / 345.2 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.00738, allocations: 7.953 kB / 345.2 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.007412, allocations: 16.78 kB / 345.2 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.007414, allocations: 0 / 345.2 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.007416, allocations: 256 / 345.2 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.007421, allocations: 7.922 kB / 345.2 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.007541, allocations: 125.2 kB / 345.4 MB, free: 4.551 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007542, allocations: 0 / 345.4 MB, free: 4.551 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.007594, allocations: 15.98 kB / 345.4 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.007596, allocations: 0 / 345.4 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.007604, allocations: 7.938 kB / 345.4 MB, free: 4.527 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.007604, allocations: 0 / 345.4 MB, free: 4.527 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007605, allocations: 3.938 kB / 345.4 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.007777, allocations: 227.8 kB / 345.6 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.007805, allocations: 11.95 kB / 345.6 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.007819, allocations: 3.984 kB / 345.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.409e-05/0.007863, allocations: 0 / 345.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.007896, allocations: 11.98 kB / 345.6 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.0079, allocations: 0 / 345.6 MB, free: 4.254 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.841e-05/0.007948, allocations: 139.2 kB / 345.8 MB, free: 4.117 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007949, allocations: 4 kB / 345.8 MB, free: 4.113 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000148/0.008097, allocations: 27.98 kB / 345.8 MB, free: 4.086 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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 7.508e-05/0.008172, allocations: 99.12 kB / 345.9 MB, free: 3.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.664e-05/0.008248, allocations: 35.66 kB / 345.9 MB, free: 3.941 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.00825, allocations: 0 / 345.9 MB, free: 3.941 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.714e-05/0.008277, allocations: 27.62 kB / 346 MB, free: 3.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.008452, allocations: 7.984 kB / 346 MB, free: 3.902 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.008924, allocations: 242.3 kB / 346.2 MB, free: 3.637 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.364e-05/0.008957, allocations: 67.28 kB / 346.3 MB, free: 3.551 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.641e-05/0.008994, allocations: 8 kB / 346.3 MB, free: 3.543 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.504e-05/0.009049, allocations: 78.19 kB / 346.3 MB, free: 3.465 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.00905, allocations: 0 / 346.3 MB, free: 3.465 MB / 314.7 MB Notification: Performance of Templates: time 0.002601/0.01165, allocations: 0.883 MB / 347.2 MB, free: 2.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.sim & ./ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8982956199906766]