Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.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.001123/0.001123, allocations: 80.94 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.001392/0.001392, allocations: 177 kB / 23.36 MB, free: 1.133 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.9372/0.9372, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.03571/0.03571, allocations: 7.114 MB / 267.4 MB, free: 5.949 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.MemristorTestSpike,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike") translateModel(ChaoticCircuits.Test.MemristorTestSpike,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 286.2 MB, free: 3.066 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.107e-05, allocations: 5.688 kB / 286.3 MB, free: 3.062 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSpike): time 0.002611/0.002632, allocations: 2.048 MB / 288.3 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.003632, allocations: 0.5258 MB / 288.8 MB, free: 476 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.003695, allocations: 0 / 288.8 MB, free: 476 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.127e-05/0.003746, allocations: 15.8 kB / 288.8 MB, free: 460 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.003881, allocations: 47.58 kB / 288.9 MB, free: 412 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.004076, allocations: 47.92 kB / 288.9 MB, free: 364 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.004284, allocations: 187.2 kB / 289.1 MB, free: 176 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.94e-05/0.004383, allocations: 34.25 kB / 289.2 MB, free: 140 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.004542, allocations: 99.8 kB / 289.3 MB, free: 40 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1027/0.1072, allocations: 60.73 kB / 289.3 MB, free: 19.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.761e-05/0.1073, allocations: 15.5 kB / 289.3 MB, free: 19.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.458e-05/0.1073, allocations: 17.53 kB / 289.3 MB, free: 19.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.676e-05/0.1074, allocations: 31.31 kB / 289.4 MB, free: 19.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.72e-05/0.1074, allocations: 52.88 kB / 289.4 MB, free: 19.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1076, allocations: 118 kB / 289.5 MB, free: 19.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1076, allocations: 2.016 kB / 289.5 MB, free: 19.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1076, allocations: 0 / 289.5 MB, free: 19.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.758e-06/0.1076, allocations: 0 / 289.5 MB, free: 19.45 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004768/0.1081, allocations: 393.1 kB / 289.9 MB, free: 19.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1081, allocations: 10.78 kB / 289.9 MB, free: 19.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.1082, allocations: 19.94 kB / 290 MB, free: 19.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.046e-05/0.1083, allocations: 138.3 kB / 290.1 MB, free: 19.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1083, allocations: 6.875 kB / 290.1 MB, free: 19.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.1083, allocations: 10.38 kB / 290.1 MB, free: 19.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.1085, allocations: 116.2 kB / 290.2 MB, free: 18.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1085, allocations: 2.391 kB / 290.2 MB, free: 18.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1085, allocations: 5.812 kB / 290.2 MB, free: 18.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1085, allocations: 2.469 kB / 290.2 MB, free: 18.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.417e-05/0.1086, allocations: 24.08 kB / 290.3 MB, free: 18.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.109, allocations: 309.6 kB / 290.6 MB, free: 18.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.464e-05/0.1091, allocations: 49.17 kB / 290.6 MB, free: 18.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.1091, allocations: 20.06 kB / 290.6 MB, free: 18.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.1091, allocations: 1.219 kB / 290.6 MB, free: 18.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.1092, allocations: 76.39 kB / 290.7 MB, free: 18.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.1092, allocations: 0 / 290.7 MB, free: 18.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001388/0.1093, allocations: 77.08 kB / 290.8 MB, free: 18.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.1094, allocations: 54.8 kB / 290.8 MB, free: 18.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.1094, allocations: 160.5 kB / 291 MB, free: 18.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.1094, allocations: 27.92 kB / 291 MB, free: 18.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.1095, allocations: 112.9 kB / 291.1 MB, free: 18.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.1095, allocations: 32.08 kB / 291.2 MB, free: 18.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.1095, allocations: 31.09 kB / 291.2 MB, free: 18.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.533e-05/0.1096, allocations: 327.1 kB / 291.5 MB, free: 18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.552e-05/0.1096, allocations: 41.81 kB / 291.5 MB, free: 17.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.522e-05/0.1096, allocations: 62.39 kB / 291.6 MB, free: 17.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.523e-05/0.1097, allocations: 83.61 kB / 291.7 MB, free: 17.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1097, allocations: 1.594 kB / 291.7 MB, free: 17.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001096/0.1098, allocations: 139.9 kB / 291.8 MB, free: 17.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.1098, allocations: 33.36 kB / 291.9 MB, free: 17.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.1098, allocations: 1.406 kB / 291.9 MB, free: 17.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1099, allocations: 1.156 kB / 291.9 MB, free: 17.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.646e-05/0.1099, allocations: 27.66 kB / 291.9 MB, free: 17.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.11, allocations: 2.219 kB / 291.9 MB, free: 17.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.579e-05/0.11, allocations: 20.45 kB / 291.9 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.11, allocations: 3.281 kB / 291.9 MB, free: 17.73 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: 5 (trapezoidCurrent.signalSource.count,$PRE.trapezoidCurrent.signalSource.count,trapezoidCurrent.signalSource.T_start,$PRE.trapezoidCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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 5.262e-05/0.1101, allocations: 125.6 kB / 292 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.1101, allocations: 9.312 kB / 292 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.1101, allocations: 21.78 kB / 292.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1101, allocations: 2.469 kB / 292.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.1101, allocations: 1.125 kB / 292.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1101, allocations: 0 / 292.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.056e-05/0.1102, allocations: 104.5 kB / 292.2 MB, free: 17.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1102, allocations: 0 / 292.2 MB, free: 17.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.337e-05/0.1103, allocations: 18.8 kB / 292.2 MB, free: 17.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1103, allocations: 2.062 kB / 292.2 MB, free: 17.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1103, allocations: 2.422 kB / 292.2 MB, free: 17.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.1103, allocations: 1.219 kB / 292.2 MB, free: 17.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1103, allocations: 2.844 kB / 292.2 MB, free: 17.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.1104, allocations: 118.3 kB / 292.3 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.1105, allocations: 16.7 kB / 292.3 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.1105, allocations: 1.672 kB / 292.3 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.639e-05/0.1105, allocations: 15.25 kB / 292.3 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.1106, allocations: 13.89 kB / 292.4 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1106, allocations: 5.766 kB / 292.4 MB, free: 17.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.807e-05/0.1106, allocations: 44.14 kB / 292.4 MB, free: 17.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1106, allocations: 0 / 292.4 MB, free: 17.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000126/0.1108, allocations: 29.33 kB / 292.4 MB, free: 17.45 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: 3 ($whenCondition1,trapezoidCurrent.signalSource.T_start,trapezoidCurrent.signalSource.count) * Number of discrete states: 1 (trapezoidCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.664e-05/0.1108, allocations: 80.41 kB / 292.5 MB, free: 17.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.111, allocations: 133.8 kB / 292.6 MB, free: 17.28 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.111, allocations: 1.219 kB / 292.6 MB, free: 17.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.226e-05/0.111, allocations: 29.06 kB / 292.7 MB, free: 17.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.1111, allocations: 38.08 kB / 292.7 MB, free: 17.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.1115, allocations: 277.8 kB / 293 MB, free: 17.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.659e-05/0.1116, allocations: 65.08 kB / 293 MB, free: 17.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.338e-05/0.1116, allocations: 14.02 kB / 293.1 MB, free: 17.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.324e-05/0.1117, allocations: 79.08 kB / 293.1 MB, free: 16.97 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1117, allocations: 0 / 293.1 MB, free: 16.97 MB / 266.7 MB Notification: Performance of Templates: time 0.004116/0.1158, allocations: 2.232 MB / 295.4 MB, free: 16.77 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.sim & ./ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6862509488128126]