Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.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.0009638/0.0009638, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001277/0.002241, allocations: 435.8 kB / 10.33 MB, free: 368 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.001055/0.001055, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001297/0.002352, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9626/0.9626, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08337/1.046, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.02607/0.02607, allocations: 7.108 MB / 251.1 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005941/0.03201, allocations: 2.841 MB / 253.9 MB, free: 5.027 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.TestHystereticNIC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC") translateModel(ChaoticCircuits.Test.TestHystereticNIC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 255.2 MB, free: 3.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.887e-05, allocations: 6.25 kB / 255.2 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestHystereticNIC): time 0.003832/0.003861, allocations: 2.185 MB / 257.4 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.004975, allocations: 0.627 MB / 258 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.583e-05/0.005061, allocations: 3.938 kB / 258 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.00526, allocations: 51.69 kB / 258.1 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.005386, allocations: 51.56 kB / 258.1 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.005582, allocations: 43.89 kB / 258.1 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.005884, allocations: 203.2 kB / 258.3 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.006009, allocations: 22.45 kB / 258.4 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.006267, allocations: 139.7 kB / 258.5 MB, free: 416 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.006399, allocations: 67.78 kB / 258.6 MB, free: 348 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.006441, allocations: 20 kB / 258.6 MB, free: 328 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.011e-05/0.006471, allocations: 24 kB / 258.6 MB, free: 304 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.007e-05/0.006511, allocations: 23.94 kB / 258.6 MB, free: 280 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.406e-05/0.006585, allocations: 47.88 kB / 258.7 MB, free: 232 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.006808, allocations: 115.6 kB / 258.8 MB, free: 116 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.665e-05/0.006825, allocations: 0 / 258.8 MB, free: 116 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006826, allocations: 0 / 258.8 MB, free: 116 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.006843, allocations: 0 / 258.8 MB, free: 116 kB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007475/0.00759, allocations: 417.5 kB / 259.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.007629, allocations: 16.58 kB / 259.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.007683, allocations: 20.92 kB / 259.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.007823, allocations: 137.5 kB / 259.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.007846, allocations: 12.31 kB / 259.4 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.007865, allocations: 8.375 kB / 259.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.008076, allocations: 117.8 kB / 259.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.008085, allocations: 3.938 kB / 259.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.008098, allocations: 4 kB / 259.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.008103, allocations: 0 / 259.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.944e-05/0.008172, allocations: 23.98 kB / 259.5 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/0.008687, allocations: 287.1 kB / 259.8 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.008803, allocations: 38.56 kB / 259.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.008832, allocations: 12.84 kB / 259.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.008842, allocations: 4 kB / 259.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.009005, allocations: 71.3 kB / 259.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.009007, allocations: 0 / 259.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001699/0.009177, allocations: 61.8 kB / 260 MB, free: 14.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.009218, allocations: 59.41 kB / 260.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.009351, allocations: 175 kB / 260.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.009371, allocations: 25.7 kB / 260.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.009437, allocations: 120.2 kB / 260.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.009457, allocations: 11.91 kB / 260.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.009508, allocations: 29.69 kB / 260.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.009602, allocations: 326.8 kB / 260.7 MB, free: 14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.932e-05/0.009662, allocations: 37.7 kB / 260.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.949e-05/0.009721, allocations: 64.25 kB / 260.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.14e-05/0.009813, allocations: 84.17 kB / 260.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.009815, allocations: 0 / 260.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000151/0.009966, allocations: 133 kB / 261.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.01001, allocations: 29.7 kB / 261.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01001, allocations: 4 kB / 261.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.01002, allocations: 0 / 261.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.01014, allocations: 19.98 kB / 261.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.01015, allocations: 0 / 261.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.01025, allocations: 27.81 kB / 261.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.01027, allocations: 8.062 kB / 261.1 MB, free: 13.54 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: 7 (hystereticNIC.rh,$PRE.hystereticNIC.rh,source.signalSource.count,$PRE.source.signalSource.count,source.signalSource.T_start,$PRE.source.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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 8.762e-05/0.01035, allocations: 125.7 kB / 261.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.01037, allocations: 4 kB / 261.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.01041, allocations: 21.45 kB / 261.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01041, allocations: 0 / 261.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01041, allocations: 0 / 261.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.01042, allocations: 3.938 kB / 261.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.01053, allocations: 101.8 kB / 261.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.01054, allocations: 256 / 261.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/0.01061, allocations: 19.98 kB / 261.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.323e-05/0.01063, allocations: 15.91 kB / 261.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01064, allocations: 0 / 261.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.01065, allocations: 0 / 261.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.01065, allocations: 0 / 261.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01065, allocations: 0 / 261.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.01078, allocations: 88.98 kB / 261.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.01081, allocations: 0 / 261.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.0109, allocations: 19.98 kB / 261.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.01095, allocations: 15.97 kB / 261.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.01096, allocations: 3.984 kB / 261.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.303e-05/0.01101, allocations: 49.86 kB / 261.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01101, allocations: 4 kB / 261.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001874/0.0112, allocations: 31.94 kB / 261.6 MB, free: 13 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,source.signalSource.T_start,source.signalSource.count,hystereticNIC.rh) * Number of discrete states: 2 (hystereticNIC.rh,source.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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 9.665e-05/0.0113, allocations: 72.42 kB / 261.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.01146, allocations: 137.8 kB / 261.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.01148, allocations: 0 / 261.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.467e-05/0.01153, allocations: 24.86 kB / 261.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.01171, allocations: 44.36 kB / 261.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000966/0.01267, allocations: 260.3 kB / 262.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.262e-05/0.01271, allocations: 67.33 kB / 262.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.547e-05/0.01278, allocations: 4.984 kB / 262.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.0129, allocations: 79.34 kB / 262.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of SimCode: time 1.232e-06/0.0129, allocations: 3.938 kB / 262.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of Templates: time 0.005568/0.01847, allocations: 2.366 MB / 264.7 MB, free: 9.914 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.sim & ./ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5429871259257197]