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.0008312/0.0008312, allocations: 80.88 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.0009425/0.0009425, allocations: 181 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 1.042/1.042, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.02744/0.02744, allocations: 7.123 MB / 267.4 MB, free: 5.945 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 1.112e-06/1.112e-06, allocations: 0 / 286.3 MB, free: 3.008 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.234e-05, allocations: 2.312 kB / 286.3 MB, free: 3.004 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestHystereticNIC): time 0.002349/0.002361, allocations: 2.188 MB / 288.5 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007532/0.003115, allocations: 0.6153 MB / 289.1 MB, free: 184 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.607e-05/0.003171, allocations: 4 kB / 289.1 MB, free: 180 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.003374, allocations: 51.62 kB / 289.2 MB, free: 128 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.877e-05/0.003432, allocations: 55.56 kB / 289.2 MB, free: 72 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.003561, allocations: 47.89 kB / 289.3 MB, free: 24 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1221/0.1257, allocations: 192.6 kB / 289.5 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1258, allocations: 28.66 kB / 289.5 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.126, allocations: 107.9 kB / 289.6 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.1261, allocations: 67.41 kB / 289.6 MB, free: 18.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.1262, allocations: 19.34 kB / 289.7 MB, free: 18.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.713e-05/0.1262, allocations: 17.91 kB / 289.7 MB, free: 18.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.783e-05/0.1262, allocations: 40.73 kB / 289.7 MB, free: 18.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.1263, allocations: 50.94 kB / 289.8 MB, free: 18.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1265, allocations: 130.1 kB / 289.9 MB, free: 18.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1265, allocations: 1.156 kB / 289.9 MB, free: 18.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1265, allocations: 0 / 289.9 MB, free: 18.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.1265, allocations: 0 / 289.9 MB, free: 18.77 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005648/0.1271, allocations: 398.7 kB / 290.3 MB, free: 18.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1271, allocations: 9.594 kB / 290.3 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.1272, allocations: 18.08 kB / 290.3 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.1273, allocations: 138.2 kB / 290.5 MB, free: 18.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.1273, allocations: 9.281 kB / 290.5 MB, free: 18.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.1273, allocations: 8.625 kB / 290.5 MB, free: 18.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.1275, allocations: 104.6 kB / 290.6 MB, free: 18.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1275, allocations: 1.75 kB / 290.6 MB, free: 18.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1275, allocations: 8.781 kB / 290.6 MB, free: 18.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.1275, allocations: 2.094 kB / 290.6 MB, free: 18.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.125e-05/0.1276, allocations: 22.09 kB / 290.6 MB, free: 18.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.1281, allocations: 282.5 kB / 290.9 MB, free: 18.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.953e-05/0.1282, allocations: 45.12 kB / 290.9 MB, free: 18.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.1282, allocations: 15.58 kB / 290.9 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.1282, allocations: 2.188 kB / 290.9 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.1283, allocations: 73.52 kB / 291 MB, free: 18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.1283, allocations: 1.875 kB / 291 MB, free: 18 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001496/0.1285, allocations: 68.83 kB / 291.1 MB, free: 17.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.1285, allocations: 57.78 kB / 291.1 MB, free: 17.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.1286, allocations: 172.9 kB / 291.3 MB, free: 17.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1286, allocations: 27.52 kB / 291.3 MB, free: 17.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.1287, allocations: 120.8 kB / 291.5 MB, free: 17.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.1287, allocations: 15.33 kB / 291.5 MB, free: 17.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.1287, allocations: 31.55 kB / 291.5 MB, free: 17.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.882e-05/0.1288, allocations: 330 kB / 291.8 MB, free: 17.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.202e-05/0.1288, allocations: 38.05 kB / 291.9 MB, free: 17.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.385e-05/0.1289, allocations: 65.3 kB / 291.9 MB, free: 17.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.736e-05/0.1289, allocations: 73.05 kB / 292 MB, free: 17.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1289, allocations: 0 / 292 MB, free: 17.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001457/0.1291, allocations: 137 kB / 292.1 MB, free: 17.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.1291, allocations: 39 kB / 292.2 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1291, allocations: 0 / 292.2 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1291, allocations: 2.812 kB / 292.2 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1293, allocations: 19.34 kB / 292.2 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1293, allocations: 1.688 kB / 292.2 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.268e-05/0.1293, allocations: 15.03 kB / 292.2 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.1294, allocations: 12.64 kB / 292.2 MB, free: 17.05 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 6.17e-05/0.1294, allocations: 118.3 kB / 292.3 MB, free: 16.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.1294, allocations: 12.16 kB / 292.3 MB, free: 16.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.1295, allocations: 14.47 kB / 292.4 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1295, allocations: 2.375 kB / 292.4 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1295, allocations: 0.7969 kB / 292.4 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1295, allocations: 1.156 kB / 292.4 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.1296, allocations: 117.1 kB / 292.5 MB, free: 16.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1296, allocations: 1.25 kB / 292.5 MB, free: 16.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.596e-05/0.1296, allocations: 11.94 kB / 292.5 MB, free: 16.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1296, allocations: 2.031 kB / 292.5 MB, free: 16.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.1297, allocations: 2.062 kB / 292.5 MB, free: 16.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1297, allocations: 5.203 kB / 292.5 MB, free: 16.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1297, allocations: 0.75 kB / 292.5 MB, free: 16.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.1298, allocations: 91.53 kB / 292.6 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.1298, allocations: 12.25 kB / 292.6 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.1298, allocations: 2.734 kB / 292.6 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.1299, allocations: 13.77 kB / 292.6 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.13, allocations: 18.61 kB / 292.6 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.13, allocations: 1.75 kB / 292.6 MB, free: 16.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.456e-05/0.13, allocations: 49.58 kB / 292.7 MB, free: 16.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.13, allocations: 2.094 kB / 292.7 MB, free: 16.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001907/0.1302, allocations: 28.77 kB / 292.7 MB, free: 16.76 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.541e-05/0.1303, allocations: 79.98 kB / 292.8 MB, free: 16.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.1305, allocations: 128.1 kB / 292.9 MB, free: 16.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.1305, allocations: 2.156 kB / 292.9 MB, free: 16.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.301e-05/0.1305, allocations: 27.09 kB / 293 MB, free: 16.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.1307, allocations: 29.97 kB / 293 MB, free: 16.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.1311, allocations: 253 kB / 293.2 MB, free: 16.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.92e-05/0.1312, allocations: 65.27 kB / 293.3 MB, free: 16.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.479e-05/0.1312, allocations: 14.59 kB / 293.3 MB, free: 16.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.1313, allocations: 75.22 kB / 293.4 MB, free: 16.29 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1313, allocations: 0 / 293.4 MB, free: 16.29 MB / 266.7 MB Notification: Performance of Templates: time 0.00549/0.1368, allocations: 2.32 MB / 295.7 MB, free: 16.12 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.81492599286139]