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.0009149/0.0009149, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.001149/0.001149, allocations: 169 kB / 24.06 MB, free: 448 kB / 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.9765/0.9765, allocations: 177.1 MB / 204.5 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.02643/0.02643, allocations: 7.118 MB / 268.1 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.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.313e-06/1.313e-06, allocations: 0 / 339.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.289e-05, allocations: 5.125 kB / 339.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSine): time 0.002131/0.002154, allocations: 1.954 MB / 341.4 MB, free: 8.449 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000612/0.002766, allocations: 0.5063 MB / 341.9 MB, free: 7.941 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.862e-05/0.002845, allocations: 4 kB / 341.9 MB, free: 7.938 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.346e-05/0.002898, allocations: 15.86 kB / 342 MB, free: 7.922 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.828e-05/0.002996, allocations: 39.64 kB / 342 MB, free: 7.883 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.003184, allocations: 35.95 kB / 342 MB, free: 7.848 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.0033, allocations: 123.4 kB / 342.2 MB, free: 7.727 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.127e-05/0.003392, allocations: 29.23 kB / 342.2 MB, free: 7.699 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.003532, allocations: 75.86 kB / 342.3 MB, free: 7.625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.589e-05/0.003598, allocations: 43.88 kB / 342.3 MB, free: 7.582 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.003616, allocations: 11.94 kB / 342.3 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.01e-05/0.003656, allocations: 15.94 kB / 342.3 MB, free: 7.555 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.003673, allocations: 27.92 kB / 342.4 MB, free: 7.527 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.003699, allocations: 35.91 kB / 342.4 MB, free: 7.492 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.003813, allocations: 79.73 kB / 342.5 MB, free: 7.414 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003816, allocations: 0 / 342.5 MB, free: 7.414 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.003816, allocations: 0 / 342.5 MB, free: 7.414 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.00382, allocations: 0 / 342.5 MB, free: 7.414 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003364/0.004156, allocations: 444.1 kB / 342.9 MB, free: 6.945 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.004185, allocations: 12.03 kB / 342.9 MB, free: 6.934 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.302e-05/0.004278, allocations: 24.88 kB / 342.9 MB, free: 6.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.004379, allocations: 155.1 kB / 343.1 MB, free: 6.734 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.004388, allocations: 8.375 kB / 343.1 MB, free: 6.727 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.004405, allocations: 12.36 kB / 343.1 MB, free: 6.715 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.00451, allocations: 82.91 kB / 343.2 MB, free: 6.625 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.004517, allocations: 3.938 kB / 343.2 MB, free: 6.621 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.004526, allocations: 11.94 kB / 343.2 MB, free: 6.609 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.004531, allocations: 0 / 343.2 MB, free: 6.609 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.193e-05/0.004573, allocations: 30.48 kB / 343.2 MB, free: 6.582 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.004891, allocations: 387.2 kB / 343.6 MB, free: 6.172 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.592e-05/0.004957, allocations: 51.05 kB / 343.7 MB, free: 6.109 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.866e-05/0.004976, allocations: 19.8 kB / 343.7 MB, free: 6.086 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.00499, allocations: 4 kB / 343.7 MB, free: 6.082 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.21e-05/0.005002, allocations: 37.39 kB / 343.7 MB, free: 6.035 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.005004, allocations: 0 / 343.7 MB, free: 6.035 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001284/0.005132, allocations: 69.75 kB / 343.8 MB, free: 5.961 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.445e-05/0.005146, allocations: 51.41 kB / 343.8 MB, free: 5.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.468e-05/0.005201, allocations: 201.8 kB / 344 MB, free: 5.684 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.005207, allocations: 33.7 kB / 344.1 MB, free: 5.645 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.005244, allocations: 154.9 kB / 344.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.005256, allocations: 23.84 kB / 344.2 MB, free: 5.461 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.005284, allocations: 27.36 kB / 344.3 MB, free: 5.426 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.341e-05/0.005327, allocations: 0.4923 MB / 344.8 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/0.005343, allocations: 4 kB / 344.8 MB, free: 4.918 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/0.005368, allocations: 39.03 kB / 344.8 MB, free: 4.867 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.546e-05/0.005413, allocations: 54.97 kB / 344.9 MB, free: 4.801 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005415, allocations: 0 / 344.9 MB, free: 4.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.76e-05/0.005493, allocations: 85.56 kB / 344.9 MB, free: 4.711 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.005503, allocations: 4 kB / 344.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.005508, allocations: 0 / 344.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.005518, allocations: 4 kB / 345 MB, free: 4.703 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.063e-05/0.005599, allocations: 15.98 kB / 345 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.005602, allocations: 11.88 kB / 345 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.005629, allocations: 3.938 kB / 345 MB, free: 4.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.005638, allocations: 4 kB / 345 MB, free: 4.668 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 4.373e-05/0.005681, allocations: 160.6 kB / 345.1 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.005701, allocations: 15.91 kB / 345.2 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.005726, allocations: 16.77 kB / 345.2 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.005727, allocations: 0 / 345.2 MB, free: 4.469 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.00573, allocations: 4 kB / 345.2 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.005733, allocations: 3.938 kB / 345.2 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.84e-05/0.005821, allocations: 117.2 kB / 345.3 MB, free: 4.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.005822, allocations: 3.984 kB / 345.3 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.005872, allocations: 12 kB / 345.3 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.005873, allocations: 0 / 345.3 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.00588, allocations: 0 / 345.3 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.005881, allocations: 4 kB / 345.3 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.005883, allocations: 7.984 kB / 345.3 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.005997, allocations: 224 kB / 345.5 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.006019, allocations: 15.94 kB / 345.6 MB, free: 4.039 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.00603, allocations: 4.062 kB / 345.6 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.882e-05/0.006069, allocations: 4 kB / 345.6 MB, free: 4.031 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.006096, allocations: 3.984 kB / 345.6 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.0061, allocations: 4 kB / 345.6 MB, free: 4.023 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.739e-05/0.006128, allocations: 150.4 kB / 345.7 MB, free: 3.879 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006128, allocations: 0 / 345.7 MB, free: 3.879 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001498/0.006277, allocations: 27.92 kB / 345.7 MB, free: 3.852 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 5.849e-05/0.006336, allocations: 99.19 kB / 345.8 MB, free: 3.746 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.771e-05/0.006404, allocations: 35.61 kB / 345.9 MB, free: 3.707 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.006405, allocations: 0 / 345.9 MB, free: 3.707 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.29e-05/0.006428, allocations: 27.61 kB / 345.9 MB, free: 3.676 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.006601, allocations: 8 kB / 345.9 MB, free: 3.668 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.007023, allocations: 273.9 kB / 346.2 MB, free: 3.367 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.627e-05/0.00706, allocations: 92.16 kB / 346.3 MB, free: 3.258 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.00711, allocations: 78.2 kB / 346.3 MB, free: 3.18 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007111, allocations: 0 / 346.3 MB, free: 3.18 MB / 266.7 MB Notification: Performance of Templates: time 0.001474/0.008584, allocations: 1.258 MB / 347.6 MB, free: 1.918 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 > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5465462431311607]