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.0008246/0.0008246, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.001839, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001084/0.001084, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001476/0.00256, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.113/1.113, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1258/1.239, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.03184/0.03184, allocations: 7.109 MB / 251.2 MB, free: 7.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005663/0.0375, allocations: 2.842 MB / 254.1 MB, free: 4.926 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.803e-06/1.803e-06, allocations: 0 / 255.4 MB, free: 3.633 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.824e-05, allocations: 6.312 kB / 255.4 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSine): time 0.002515/0.002533, allocations: 2.014 MB / 257.4 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007394/0.003272, allocations: 0.5375 MB / 257.9 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.656e-05/0.003339, allocations: 0 / 257.9 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.046e-05/0.003379, allocations: 11.86 kB / 258 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.926e-05/0.003449, allocations: 31.66 kB / 258 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.003567, allocations: 43.88 kB / 258 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.003698, allocations: 123.4 kB / 258.1 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.003803, allocations: 29.94 kB / 258.2 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.003997, allocations: 87.73 kB / 258.3 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.551e-05/0.004092, allocations: 43.89 kB / 258.3 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.004114, allocations: 12 kB / 258.3 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.631e-05/0.00418, allocations: 12 kB / 258.3 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.004205, allocations: 19.88 kB / 258.3 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.004236, allocations: 27.94 kB / 258.4 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.004398, allocations: 71.75 kB / 258.4 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.00441, allocations: 0 / 258.4 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.004411, allocations: 0 / 258.4 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.004427, allocations: 4 kB / 258.4 MB, free: 0.543 MB / 250.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.0005081/0.004935, allocations: 348 kB / 258.8 MB, free: 184 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.004972, allocations: 12.58 kB / 258.8 MB, free: 172 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.005129, allocations: 102 kB / 258.9 MB, free: 52 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.005316, allocations: 130.4 kB / 259 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.005326, allocations: 4.375 kB / 259 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.005349, allocations: 8.375 kB / 259 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.005485, allocations: 90.86 kB / 259.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.005496, allocations: 3.938 kB / 259.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.005508, allocations: 4 kB / 259.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.005516, allocations: 4 kB / 259.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.849e-05/0.005565, allocations: 27.92 kB / 259.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.005927, allocations: 279.1 kB / 259.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.04e-05/0.006008, allocations: 42.56 kB / 259.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.949e-05/0.006027, allocations: 8.859 kB / 259.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.006042, allocations: 4 kB / 259.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.006066, allocations: 34.55 kB / 259.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.006067, allocations: 0 / 259.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000152/0.006219, allocations: 65.75 kB / 259.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.006246, allocations: 55.34 kB / 259.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.821e-05/0.006324, allocations: 145.5 kB / 259.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.006337, allocations: 25.7 kB / 259.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.006391, allocations: 116.1 kB / 259.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.00641, allocations: 23.78 kB / 260 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.006441, allocations: 21.72 kB / 260 MB, free: 14.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.659e-05/0.006528, allocations: 318.8 kB / 260.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.006544, allocations: 11.98 kB / 260.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.609e-05/0.00657, allocations: 30.56 kB / 260.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.025e-05/0.006621, allocations: 46.48 kB / 260.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006622, allocations: 0 / 260.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.835e-05/0.006691, allocations: 65.61 kB / 260.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.006704, allocations: 7.984 kB / 260.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.006709, allocations: 0 / 260.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.006727, allocations: 7.984 kB / 260.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.00685, allocations: 23.92 kB / 260.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.006855, allocations: 0 / 260.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.108e-05/0.006886, allocations: 19.95 kB / 260.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.006892, allocations: 256 / 260.5 MB, free: 14.3 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 6.038e-05/0.006952, allocations: 113.8 kB / 260.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.006968, allocations: 11.98 kB / 260.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.006994, allocations: 12.78 kB / 260.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.006996, allocations: 4 kB / 260.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.006998, allocations: 0 / 260.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.007003, allocations: 3.938 kB / 260.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.007108, allocations: 89.86 kB / 260.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.007109, allocations: 0 / 260.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.585e-05/0.007165, allocations: 19.98 kB / 260.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.007185, allocations: 11.89 kB / 260.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.007187, allocations: 4 kB / 260.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.007195, allocations: 0 / 260.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.007197, allocations: 3.938 kB / 260.8 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.007198, allocations: 0 / 260.8 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.00733, allocations: 167.4 kB / 260.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.007343, allocations: 0 / 260.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.636e-05/0.007379, allocations: 4 kB / 260.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.007414, allocations: 11.92 kB / 260.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.007417, allocations: 0 / 260.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.256e-05/0.007439, allocations: 24.88 kB / 261 MB, free: 13.78 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00744, allocations: 4 kB / 261 MB, free: 13.78 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001263/0.007566, allocations: 23.95 kB / 261 MB, free: 13.75 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.547e-05/0.007641, allocations: 72.42 kB / 261.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.129e-05/0.007723, allocations: 44.7 kB / 261.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.00773, allocations: 4 kB / 261.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.969e-05/0.00776, allocations: 20.84 kB / 261.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.007923, allocations: 28.17 kB / 261.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.008963, allocations: 248 kB / 261.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.638e-05/0.009, allocations: 63.34 kB / 261.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.471e-05/0.009034, allocations: 8 kB / 261.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.033e-05/0.009095, allocations: 63.36 kB / 261.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009095, allocations: 0 / 261.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of Templates: time 0.002522/0.01162, allocations: 0.8164 MB / 262.4 MB, free: 12.34 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.7466345662251115]