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.001272/0.001272, allocations: 88.52 kB / 19.94 MB, free: 4.602 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.00142/0.00142, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.8913/0.8913, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.02612/0.02612, allocations: 7.114 MB / 267.1 MB, free: 6.254 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.392e-06/1.392e-06, allocations: 0 / 393.5 MB, free: 3.531 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.758e-05, allocations: 2.281 kB / 393.5 MB, free: 3.527 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSpike): time 0.002985/0.003003, allocations: 1.969 MB / 395.4 MB, free: 1.543 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005914/0.003594, allocations: 0.518 MB / 396 MB, free: 1.023 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.531e-05/0.003649, allocations: 0 / 396 MB, free: 1.023 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.624e-05/0.003696, allocations: 15.86 kB / 396 MB, free: 1.008 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.997e-05/0.003795, allocations: 43.58 kB / 396 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.003974, allocations: 55.8 kB / 396.1 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.004144, allocations: 187.2 kB / 396.2 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.00425, allocations: 25.66 kB / 396.3 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.004374, allocations: 95.8 kB / 396.4 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.978e-05/0.004454, allocations: 71.8 kB / 396.4 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.004481, allocations: 16 kB / 396.5 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.001e-05/0.004501, allocations: 16 kB / 396.5 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.163e-05/0.004533, allocations: 35.84 kB / 396.5 MB, free: 480 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.004587, allocations: 51.89 kB / 396.6 MB, free: 428 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.004749, allocations: 179.4 kB / 396.7 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.004752, allocations: 4 kB / 396.7 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004753, allocations: 0 / 396.7 MB, free: 244 kB / 314.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.004757, allocations: 0 / 396.7 MB, free: 244 kB / 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.0005953/0.005352, allocations: 431.5 kB / 397.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.005384, allocations: 8.031 kB / 397.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.005425, allocations: 16.84 kB / 397.2 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.601e-05/0.005521, allocations: 145.6 kB / 397.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.005533, allocations: 4.562 kB / 397.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.005559, allocations: 12.38 kB / 397.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.005793, allocations: 148.9 kB / 397.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.005801, allocations: 0 / 397.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.005815, allocations: 4 kB / 397.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.00582, allocations: 4 kB / 397.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.006065, allocations: 131.8 kB / 397.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.006589, allocations: 423.4 kB / 398 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.006839, allocations: 138.4 kB / 398.2 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.006954, allocations: 64.8 kB / 398.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.006965, allocations: 0 / 398.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.007155, allocations: 123.3 kB / 398.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.007156, allocations: 0 / 398.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004121/0.007568, allocations: 217.6 kB / 398.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.007595, allocations: 55.41 kB / 398.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.007703, allocations: 183.1 kB / 398.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.007718, allocations: 29.7 kB / 398.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.007775, allocations: 112 kB / 398.9 MB, free: 13.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.007795, allocations: 27.78 kB / 399 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.007835, allocations: 33.66 kB / 399 MB, free: 13.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.007907, allocations: 326.8 kB / 399.3 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.008037, allocations: 89.66 kB / 399.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.008167, allocations: 120.2 kB / 399.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.008388, allocations: 160.1 kB / 399.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.00839, allocations: 0 / 399.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003038/0.008694, allocations: 256.9 kB / 399.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.008719, allocations: 32.36 kB / 400 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.008725, allocations: 4 kB / 400 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.008737, allocations: 0 / 400 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.008843, allocations: 31.91 kB / 400 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.008848, allocations: 3.984 kB / 400 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.008928, allocations: 35.92 kB / 400 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-06/0.008937, allocations: 4 kB / 400 MB, free: 12.69 MB / 330.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.972e-05/0.009007, allocations: 129.8 kB / 400.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.009019, allocations: 7.953 kB / 400.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.505e-05/0.009044, allocations: 17.47 kB / 400.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.009046, allocations: 0 / 400.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.009049, allocations: 0 / 400.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.009054, allocations: 7.938 kB / 400.2 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.546e-05/0.009149, allocations: 157.2 kB / 400.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.00915, allocations: 0 / 400.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.836e-05/0.009228, allocations: 31.91 kB / 400.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.009229, allocations: 0 / 400.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.009238, allocations: 4 kB / 400.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.009239, allocations: 0 / 400.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.00924, allocations: 4 kB / 400.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.009629, allocations: 261.2 kB / 400.6 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.009668, allocations: 23.92 kB / 400.7 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.009687, allocations: 7.984 kB / 400.7 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.00975, allocations: 15.98 kB / 400.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.009802, allocations: 19.97 kB / 400.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.009808, allocations: 0 / 400.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.868e-05/0.009867, allocations: 120 kB / 400.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009867, allocations: 4 kB / 400.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001378/0.01, allocations: 40.03 kB / 400.9 MB, free: 11.8 MB / 330.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 6.559e-05/0.01007, allocations: 103.1 kB / 401 MB, free: 11.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.01037, allocations: 224.9 kB / 401.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.01037, allocations: 0 / 401.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.01049, allocations: 72 kB / 401.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.01065, allocations: 23.92 kB / 401.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.01109, allocations: 307.6 kB / 401.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.268e-05/0.01115, allocations: 94.28 kB / 401.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.01119, allocations: 24.48 kB / 401.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01119, allocations: 0 / 401.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of Templates: time 0.002254/0.01345, allocations: 1.983 MB / 403.7 MB, free: 8.906 MB / 330.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 > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.349526239093393]