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.001118/0.001118, allocations: 81.95 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.001203/0.001203, allocations: 170 kB / 23.28 MB, free: 1.219 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.9677/0.9677, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.02641/0.02641, allocations: 7.119 MB / 267.4 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.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 6.01e-07/6.01e-07, allocations: 0 / 339.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.085e-06/8.686e-06, allocations: 2.312 kB / 339.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSpike): time 0.002253/0.002261, allocations: 2.037 MB / 341.6 MB, free: 8.602 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006087/0.00287, allocations: 0.5258 MB / 342.1 MB, free: 8.074 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.379e-05/0.002914, allocations: 0 / 342.1 MB, free: 8.074 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.002946, allocations: 15.86 kB / 342.1 MB, free: 8.059 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.361e-05/0.00303, allocations: 47.56 kB / 342.1 MB, free: 8.012 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.003164, allocations: 51.88 kB / 342.2 MB, free: 7.961 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.003296, allocations: 187.2 kB / 342.4 MB, free: 7.777 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.331e-05/0.003359, allocations: 29.59 kB / 342.4 MB, free: 7.746 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.003461, allocations: 103.7 kB / 342.5 MB, free: 7.645 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.087e-05/0.003532, allocations: 63.84 kB / 342.6 MB, free: 7.582 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.003554, allocations: 16 kB / 342.6 MB, free: 7.566 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.862e-05/0.003573, allocations: 16 kB / 342.6 MB, free: 7.551 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.699e-05/0.0036, allocations: 31.86 kB / 342.6 MB, free: 7.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.003645, allocations: 55.83 kB / 342.7 MB, free: 7.465 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.003754, allocations: 119.6 kB / 342.8 MB, free: 7.348 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.003756, allocations: 4 kB / 342.8 MB, free: 7.344 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.003756, allocations: 0 / 342.8 MB, free: 7.344 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.003759, allocations: 0 / 342.8 MB, free: 7.344 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004227/0.004182, allocations: 0.5095 MB / 343.3 MB, free: 6.793 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.215e-05/0.004204, allocations: 12.03 kB / 343.3 MB, free: 6.781 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.004237, allocations: 16.84 kB / 343.3 MB, free: 6.766 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.066e-05/0.004308, allocations: 148.3 kB / 343.5 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.004315, allocations: 4.562 kB / 343.5 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.004332, allocations: 12.38 kB / 343.5 MB, free: 6.578 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.004472, allocations: 118.4 kB / 343.6 MB, free: 6.453 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.549e-06/0.004477, allocations: 0 / 343.6 MB, free: 6.453 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.004486, allocations: 8 kB / 343.6 MB, free: 6.445 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-06/0.004488, allocations: 0 / 343.6 MB, free: 6.445 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.116e-05/0.00454, allocations: 31.91 kB / 343.7 MB, free: 6.414 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.00493, allocations: 427.2 kB / 344.1 MB, free: 5.965 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.802e-05/0.005018, allocations: 63.03 kB / 344.1 MB, free: 5.891 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.801e-05/0.005046, allocations: 27.67 kB / 344.2 MB, free: 5.859 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.005055, allocations: 0 / 344.2 MB, free: 5.859 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.676e-05/0.005152, allocations: 77.02 kB / 344.2 MB, free: 5.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 7.32e-07/0.005152, allocations: 0 / 344.2 MB, free: 5.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001381/0.00529, allocations: 93.94 kB / 344.3 MB, free: 5.672 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.005313, allocations: 59.39 kB / 344.4 MB, free: 5.602 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.005407, allocations: 219.9 kB / 344.6 MB, free: 5.367 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.005421, allocations: 25.7 kB / 344.6 MB, free: 5.336 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.005483, allocations: 166.7 kB / 344.8 MB, free: 5.168 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.005508, allocations: 35.72 kB / 344.8 MB, free: 5.133 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.005548, allocations: 39.34 kB / 344.9 MB, free: 5.086 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.005655, allocations: 0.4961 MB / 345.4 MB, free: 4.578 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.005692, allocations: 37.69 kB / 345.4 MB, free: 4.535 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.193e-05/0.005744, allocations: 80.67 kB / 345.5 MB, free: 4.438 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.895e-05/0.005813, allocations: 80.75 kB / 345.6 MB, free: 4.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.005814, allocations: 0 / 345.6 MB, free: 4.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001975/0.006012, allocations: 156.9 kB / 345.7 MB, free: 4.168 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.006036, allocations: 45.7 kB / 345.8 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.006038, allocations: 80 / 345.8 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-06/0.006043, allocations: 0 / 345.8 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.892e-05/0.006132, allocations: 23.98 kB / 345.8 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.006136, allocations: 7.969 kB / 345.8 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.171e-05/0.006197, allocations: 11.95 kB / 345.8 MB, free: 4.074 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.006207, allocations: 15.92 kB / 345.8 MB, free: 4.059 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: 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 6.635e-05/0.006274, allocations: 160.6 kB / 346 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.006292, allocations: 15.95 kB / 346 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.006315, allocations: 25.41 kB / 346 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.006316, allocations: 0 / 346 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006317, allocations: 0 / 346 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.006321, allocations: 3.984 kB / 346 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.908e-05/0.00641, allocations: 137.1 kB / 346.1 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.006412, allocations: 4 kB / 346.2 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.006469, allocations: 15.98 kB / 346.2 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.00647, allocations: 0 / 346.2 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.006479, allocations: 8 kB / 346.2 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.006479, allocations: 0 / 346.2 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.00648, allocations: 0 / 346.2 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.006631, allocations: 136.3 kB / 346.3 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.006668, allocations: 31.77 kB / 346.3 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.006683, allocations: 4 kB / 346.3 MB, free: 3.473 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.851e-05/0.006731, allocations: 7.984 kB / 346.4 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.006765, allocations: 19.95 kB / 346.4 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.006772, allocations: 7.938 kB / 346.4 MB, free: 3.438 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.929e-05/0.006831, allocations: 155.8 kB / 346.5 MB, free: 3.285 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.006831, allocations: 0 / 346.5 MB, free: 3.285 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001384/0.006969, allocations: 24 kB / 346.6 MB, free: 3.262 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: 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 5.93e-05/0.007029, allocations: 107.3 kB / 346.7 MB, free: 3.145 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.007152, allocations: 132.7 kB / 346.8 MB, free: 2.992 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.007153, allocations: 0 / 346.8 MB, free: 2.992 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.089e-05/0.007194, allocations: 27.67 kB / 346.8 MB, free: 2.961 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.007336, allocations: 33.95 kB / 346.8 MB, free: 2.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.007684, allocations: 278.4 kB / 347.1 MB, free: 2.629 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.245e-05/0.007717, allocations: 71.33 kB / 347.2 MB, free: 2.539 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.137e-05/0.007758, allocations: 4.984 kB / 347.2 MB, free: 2.531 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.783e-05/0.007856, allocations: 102.2 kB / 347.3 MB, free: 2.43 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007856, allocations: 0 / 347.3 MB, free: 2.43 MB / 314.7 MB Notification: Performance of Templates: time 0.0036/0.01146, allocations: 2.374 MB / 349.7 MB, free: 108 kB / 314.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 & (cd run_cvode && ../ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe 2>&1) [Timeout 240] (rm -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_gbode.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_gbode.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_gbode.sim & (cd run_gbode && ../ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_gbode.pipe 2>&1) [Timeout 240] (rm -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_ida.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_ida.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_ida.sim & (cd run_ida && ../ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7442717803642154]