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.0009374/0.0009374, allocations: 88.52 kB / 19.94 MB, free: 4.605 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.0009239/0.0009239, 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.9968/0.9968, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.02746/0.02746, allocations: 7.12 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.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.963e-06/1.963e-06, allocations: 0 / 393.5 MB, free: 3.539 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.962e-05, allocations: 6.281 kB / 393.5 MB, free: 3.531 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSine): time 0.003136/0.003166, allocations: 1.879 MB / 395.3 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009153/0.004081, allocations: 0.5063 MB / 395.9 MB, free: 1.129 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.28e-05/0.004174, allocations: 0 / 395.9 MB, free: 1.129 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 6.592e-05/0.00424, allocations: 15.84 kB / 395.9 MB, free: 1.113 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.004364, allocations: 39.64 kB / 395.9 MB, free: 1.074 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.004639, allocations: 43.84 kB / 396 MB, free: 1.031 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.004831, allocations: 127.4 kB / 396.1 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.004958, allocations: 17.31 kB / 396.1 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.00518, allocations: 75.8 kB / 396.2 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.062e-05/0.00527, allocations: 39.89 kB / 396.2 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.005296, allocations: 8 kB / 396.2 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.336e-05/0.005349, allocations: 15.98 kB / 396.2 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.005376, allocations: 23.92 kB / 396.3 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.005421, allocations: 35.86 kB / 396.3 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.005624, allocations: 131.6 kB / 396.4 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.005627, allocations: 0 / 396.4 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.005628, allocations: 0 / 396.4 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.005634, allocations: 0 / 396.4 MB, free: 0.5664 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005528/0.006186, allocations: 345.8 kB / 396.8 MB, free: 204 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.006231, allocations: 12.03 kB / 396.8 MB, free: 192 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.006378, allocations: 20.88 kB / 396.8 MB, free: 172 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.006583, allocations: 144.4 kB / 396.9 MB, free: 4 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.006599, allocations: 12.42 kB / 396.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.006631, allocations: 12.38 kB / 397 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.006845, allocations: 98.16 kB / 397 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.006855, allocations: 3.938 kB / 397.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.006869, allocations: 4 kB / 397.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.006875, allocations: 4 kB / 397.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.007029, allocations: 67.89 kB / 397.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005756/0.007605, allocations: 359.4 kB / 397.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.007746, allocations: 62.55 kB / 397.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.414e-05/0.00781, allocations: 24.98 kB / 397.6 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.007829, allocations: 4 kB / 397.6 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.007854, allocations: 34.55 kB / 397.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.007855, allocations: 0 / 397.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002966/0.008152, allocations: 109.7 kB / 397.7 MB, free: 15.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.00819, allocations: 55.34 kB / 397.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.008311, allocations: 152.5 kB / 397.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.008326, allocations: 29.7 kB / 397.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.008401, allocations: 120.1 kB / 398.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.008429, allocations: 23.8 kB / 398.1 MB, free: 14.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.008475, allocations: 21.7 kB / 398.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.008574, allocations: 318.8 kB / 398.4 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/0.008639, allocations: 23.98 kB / 398.4 MB, free: 14.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.215e-05/0.008711, allocations: 42.56 kB / 398.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.008842, allocations: 70.52 kB / 398.5 MB, free: 14.24 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.008844, allocations: 4 kB / 398.5 MB, free: 14.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001943/0.009038, allocations: 105.5 kB / 398.7 MB, free: 14.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.009054, allocations: 8 kB / 398.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.009059, allocations: 0 / 398.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.009074, allocations: 0 / 398.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.009198, allocations: 23.92 kB / 398.7 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.009204, allocations: 0 / 398.7 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.009252, allocations: 7.938 kB / 398.7 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.009266, allocations: 11.94 kB / 398.7 MB, free: 14.08 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: 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 9.033e-05/0.009356, allocations: 121.9 kB / 398.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.009388, allocations: 11.91 kB / 398.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.009423, allocations: 16.78 kB / 398.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.009425, allocations: 0 / 398.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.009432, allocations: 3.938 kB / 398.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.009435, allocations: 0 / 398.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.009605, allocations: 137.3 kB / 399 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.009606, allocations: 0 / 399 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.028e-05/0.009696, allocations: 12 kB / 399 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.009699, allocations: 0 / 399 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.009711, allocations: 8.234 kB / 399 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.009714, allocations: 4 kB / 399 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.009715, allocations: 0 / 399 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.01001, allocations: 223.4 kB / 399.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.01004, allocations: 7.953 kB / 399.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.01006, allocations: 4 kB / 399.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.01013, allocations: 3.984 kB / 399.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.01018, allocations: 15.92 kB / 399.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.01019, allocations: 4.172 kB / 399.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.158e-05/0.01026, allocations: 107.3 kB / 399.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01026, allocations: 3.938 kB / 399.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.01055, allocations: 31.83 kB / 399.4 MB, free: 13.32 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: 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 9.686e-05/0.01065, allocations: 91.25 kB / 399.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.01082, allocations: 63.97 kB / 399.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01082, allocations: 0 / 399.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.157e-05/0.01089, allocations: 27.98 kB / 399.6 MB, free: 13.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.01119, allocations: 8.125 kB / 399.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.01171, allocations: 271.1 kB / 399.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.225e-05/0.01178, allocations: 88.27 kB / 399.9 MB, free: 12.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.01183, allocations: 12.5 kB / 400 MB, free: 12.71 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01183, allocations: 0 / 400 MB, free: 12.71 MB / 330.7 MB Notification: Performance of Templates: time 0.002668/0.0145, allocations: 1.239 MB / 401.2 MB, free: 11.46 MB / 330.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: 4.514776844065636]