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.001528/0.001528, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00164/0.00164, allocations: 181 kB / 23.36 MB, free: 1.129 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.9963/0.9963, allocations: 177.1 MB / 203.8 MB, free: 5.516 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.02517/0.02517, allocations: 7.113 MB / 267.4 MB, free: 5.973 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.473e-06/1.473e-06, allocations: 0 / 286.2 MB, free: 3.086 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.18e-05, allocations: 5.688 kB / 286.2 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSine): time 0.002724/0.002745, allocations: 1.955 MB / 288.2 MB, free: 1.105 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008412/0.003587, allocations: 0.5219 MB / 288.7 MB, free: 0.582 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.117e-05/0.003658, allocations: 8 kB / 288.7 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.649e-05/0.003704, allocations: 11.86 kB / 288.7 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.003816, allocations: 31.66 kB / 288.8 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.004026, allocations: 43.81 kB / 288.8 MB, free: 500 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.004176, allocations: 123.5 kB / 288.9 MB, free: 376 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.004277, allocations: 21.94 kB / 289 MB, free: 356 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.004446, allocations: 83.8 kB / 289 MB, free: 272 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.208e-05/0.004528, allocations: 35.89 kB / 289.1 MB, free: 236 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.004549, allocations: 12 kB / 289.1 MB, free: 224 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.722e-05/0.004596, allocations: 16 kB / 289.1 MB, free: 208 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.004618, allocations: 23.91 kB / 289.1 MB, free: 184 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.004656, allocations: 39.86 kB / 289.2 MB, free: 144 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.004797, allocations: 83.66 kB / 289.2 MB, free: 60 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.004799, allocations: 0 / 289.2 MB, free: 60 kB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.0048, allocations: 0 / 289.2 MB, free: 60 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.815e-06/0.004803, allocations: 0 / 289.2 MB, free: 60 kB / 266.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.1475/0.1523, allocations: 308.5 kB / 289.5 MB, free: 19.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1523, allocations: 11.19 kB / 289.6 MB, free: 19.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.1524, allocations: 26.73 kB / 289.6 MB, free: 19.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.1525, allocations: 131.3 kB / 289.7 MB, free: 19.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1525, allocations: 8.594 kB / 289.7 MB, free: 19.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.1526, allocations: 11.8 kB / 289.7 MB, free: 19.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.1527, allocations: 84.2 kB / 289.8 MB, free: 19.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1527, allocations: 0 / 289.8 MB, free: 19.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1527, allocations: 8.812 kB / 289.8 MB, free: 19.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1527, allocations: 3.062 kB / 289.8 MB, free: 19.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.646e-05/0.1527, allocations: 32.05 kB / 289.9 MB, free: 19.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.1531, allocations: 280.8 kB / 290.1 MB, free: 19.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.14e-05/0.1531, allocations: 41.59 kB / 290.2 MB, free: 19.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/0.1532, allocations: 12.27 kB / 290.2 MB, free: 19.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.1532, allocations: 3.812 kB / 290.2 MB, free: 19.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.1532, allocations: 35.66 kB / 290.2 MB, free: 19.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.1532, allocations: 0.9062 kB / 290.2 MB, free: 19.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000121/0.1533, allocations: 60.39 kB / 290.3 MB, free: 19.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.1533, allocations: 54.09 kB / 290.3 MB, free: 19.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.1534, allocations: 137.4 kB / 290.5 MB, free: 19.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.1534, allocations: 28.98 kB / 290.5 MB, free: 19.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.1534, allocations: 113.4 kB / 290.6 MB, free: 18.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.1534, allocations: 24.39 kB / 290.6 MB, free: 18.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.1535, allocations: 22.2 kB / 290.7 MB, free: 18.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.919e-05/0.1535, allocations: 328.8 kB / 291 MB, free: 18.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.1535, allocations: 8.547 kB / 291 MB, free: 18.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.1535, allocations: 31.59 kB / 291 MB, free: 18.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.1536, allocations: 40.48 kB / 291.1 MB, free: 18.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1536, allocations: 3.719 kB / 291.1 MB, free: 18.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.053e-05/0.1537, allocations: 67.12 kB / 291.1 MB, free: 18.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.1537, allocations: 12.28 kB / 291.1 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1537, allocations: 0.5625 kB / 291.1 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1537, allocations: 1.906 kB / 291.1 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.976e-05/0.1538, allocations: 17.72 kB / 291.2 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.1538, allocations: 2.156 kB / 291.2 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.1538, allocations: 13.12 kB / 291.2 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1538, allocations: 5.562 kB / 291.2 MB, free: 18.5 MB / 266.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 3.871e-05/0.1538, allocations: 116 kB / 291.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.1539, allocations: 8.5 kB / 291.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.1539, allocations: 16.36 kB / 291.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1539, allocations: 1.984 kB / 291.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.1539, allocations: 1.281 kB / 291.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1539, allocations: 0 / 291.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.823e-05/0.154, allocations: 94.66 kB / 291.4 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.154, allocations: 1.391 kB / 291.4 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.776e-05/0.154, allocations: 13.66 kB / 291.4 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.154, allocations: 2.938 kB / 291.4 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.154, allocations: 0.75 kB / 291.4 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.154, allocations: 2.172 kB / 291.4 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.154, allocations: 0 / 291.4 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.1541, allocations: 169 kB / 291.6 MB, free: 18.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.1542, allocations: 9.031 kB / 291.6 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.1542, allocations: 3.344 kB / 291.6 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.6e-05/0.1542, allocations: 1.875 kB / 291.6 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.1542, allocations: 6.422 kB / 291.6 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.1543, allocations: 3.391 kB / 291.6 MB, free: 18.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.386e-05/0.1543, allocations: 30.16 kB / 291.6 MB, free: 18.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1543, allocations: 0.5625 kB / 291.6 MB, free: 18.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001359/0.1544, allocations: 28.92 kB / 291.7 MB, free: 18.15 MB / 266.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.671e-05/0.1545, allocations: 78.69 kB / 291.8 MB, free: 18.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.303e-05/0.1546, allocations: 40.19 kB / 291.8 MB, free: 18.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1546, allocations: 1.188 kB / 291.8 MB, free: 18.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.258e-05/0.1546, allocations: 23.7 kB / 291.8 MB, free: 18.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.1547, allocations: 13.75 kB / 291.8 MB, free: 18.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.1552, allocations: 247 kB / 292.1 MB, free: 17.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.588e-05/0.1552, allocations: 62.89 kB / 292.1 MB, free: 17.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.454e-05/0.1552, allocations: 11.89 kB / 292.1 MB, free: 17.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.1553, allocations: 56.81 kB / 292.2 MB, free: 17.78 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1553, allocations: 0 / 292.2 MB, free: 17.78 MB / 266.7 MB Notification: Performance of Templates: time 0.002653/0.1579, allocations: 0.8697 MB / 293.1 MB, free: 17.72 MB / 266.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.7807196429930627]