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.0009864/0.0009864, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009281/0.0009281, allocations: 181 kB / 23.36 MB, free: 1.129 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.961/0.961, allocations: 177.2 MB / 203.8 MB, free: 5.492 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.026/0.026, allocations: 7.127 MB / 267.4 MB, free: 5.953 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.763e-06/1.763e-06, allocations: 0 / 286.3 MB, free: 3.074 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.285e-05, allocations: 2.312 kB / 286.3 MB, free: 3.07 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestHystereticNIC): time 0.006137/0.006159, allocations: 2.138 MB / 288.4 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.007215, allocations: 0.6308 MB / 289 MB, free: 284 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.007285, allocations: 0 / 289 MB, free: 284 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003217/0.0105, allocations: 51.62 kB / 289.1 MB, free: 232 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.399e-05/0.0106, allocations: 47.58 kB / 289.1 MB, free: 184 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.01077, allocations: 47.92 kB / 289.2 MB, free: 136 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1336/0.1444, allocations: 191 kB / 289.4 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.1446, allocations: 28.17 kB / 289.4 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.1448, allocations: 105.2 kB / 289.5 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.145, allocations: 68.38 kB / 289.6 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.145, allocations: 18.97 kB / 289.6 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.932e-05/0.145, allocations: 18.12 kB / 289.6 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.1451, allocations: 41.58 kB / 289.6 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.373e-05/0.1451, allocations: 54.97 kB / 289.7 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.1454, allocations: 126 kB / 289.8 MB, free: 18.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1454, allocations: 4.125 kB / 289.8 MB, free: 18.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1454, allocations: 0.6562 kB / 289.8 MB, free: 18.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1454, allocations: 0.7188 kB / 289.8 MB, free: 18.74 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.0005666/0.146, allocations: 397.8 kB / 290.2 MB, free: 18.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.146, allocations: 9.312 kB / 290.2 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.1461, allocations: 18.5 kB / 290.2 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.977e-05/0.1462, allocations: 138.3 kB / 290.4 MB, free: 18.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.1462, allocations: 8.406 kB / 290.4 MB, free: 18.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.1462, allocations: 10 kB / 290.4 MB, free: 18.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.1464, allocations: 105.2 kB / 290.5 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1464, allocations: 1.031 kB / 290.5 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1464, allocations: 5 kB / 290.5 MB, free: 18.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1464, allocations: 2.156 kB / 290.5 MB, free: 18.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.463e-05/0.1465, allocations: 24.67 kB / 290.5 MB, free: 18.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.1469, allocations: 289 kB / 290.8 MB, free: 18.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.343e-05/0.147, allocations: 39.69 kB / 290.8 MB, free: 18.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.351e-05/0.147, allocations: 22.02 kB / 290.9 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.147, allocations: 2.031 kB / 290.9 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.1471, allocations: 66.16 kB / 290.9 MB, free: 17.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1471, allocations: 1.062 kB / 290.9 MB, free: 17.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001462/0.1473, allocations: 66.42 kB / 291 MB, free: 17.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.1473, allocations: 57.06 kB / 291 MB, free: 17.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.1474, allocations: 173.6 kB / 291.2 MB, free: 17.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1474, allocations: 31.62 kB / 291.2 MB, free: 17.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.1475, allocations: 117.3 kB / 291.4 MB, free: 17.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.1475, allocations: 21.45 kB / 291.4 MB, free: 17.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.1475, allocations: 27.12 kB / 291.4 MB, free: 17.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.434e-05/0.1476, allocations: 332.6 kB / 291.7 MB, free: 17.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.689e-05/0.1476, allocations: 36.8 kB / 291.8 MB, free: 17.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.1477, allocations: 64.16 kB / 291.8 MB, free: 17.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.59e-05/0.1477, allocations: 76.52 kB / 291.9 MB, free: 17.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1477, allocations: 3.625 kB / 291.9 MB, free: 17.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001266/0.1479, allocations: 132.5 kB / 292 MB, free: 17.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.1479, allocations: 32.73 kB / 292.1 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1479, allocations: 1.031 kB / 292.1 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.1479, allocations: 1.156 kB / 292.1 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.68e-05/0.148, allocations: 19.64 kB / 292.1 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.148, allocations: 1.219 kB / 292.1 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.894e-05/0.1481, allocations: 19.02 kB / 292.1 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1481, allocations: 7.375 kB / 292.1 MB, free: 17.02 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.392e-05/0.1482, allocations: 119.7 kB / 292.2 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.1482, allocations: 8.719 kB / 292.2 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.1482, allocations: 19.58 kB / 292.3 MB, free: 16.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1482, allocations: 1.062 kB / 292.3 MB, free: 16.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.1482, allocations: 0 / 292.3 MB, free: 16.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1482, allocations: 1.406 kB / 292.3 MB, free: 16.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.1483, allocations: 113.8 kB / 292.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1483, allocations: 0.9375 kB / 292.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.1484, allocations: 11.62 kB / 292.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1484, allocations: 5.344 kB / 292.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1484, allocations: 2.25 kB / 292.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.1484, allocations: 1.062 kB / 292.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1484, allocations: 0.75 kB / 292.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.1485, allocations: 90.03 kB / 292.5 MB, free: 16.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.1485, allocations: 12.08 kB / 292.5 MB, free: 16.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.1486, allocations: 5.688 kB / 292.5 MB, free: 16.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-05/0.1486, allocations: 13.95 kB / 292.5 MB, free: 16.74 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.1487, allocations: 17.61 kB / 292.5 MB, free: 16.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1487, allocations: 5.094 kB / 292.5 MB, free: 16.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.077e-05/0.1488, allocations: 48.91 kB / 292.6 MB, free: 16.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1488, allocations: 5.125 kB / 292.6 MB, free: 16.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001354/0.1489, allocations: 28.36 kB / 292.6 MB, free: 16.73 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 8.796e-05/0.149, allocations: 79.72 kB / 292.7 MB, free: 16.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.1491, allocations: 126.8 kB / 292.8 MB, free: 16.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1491, allocations: 1.031 kB / 292.8 MB, free: 16.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.372e-05/0.1492, allocations: 30.06 kB / 292.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.1493, allocations: 36.23 kB / 292.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.1496, allocations: 251.3 kB / 293.1 MB, free: 16.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.76e-05/0.1497, allocations: 64.61 kB / 293.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.383e-05/0.1497, allocations: 12.73 kB / 293.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.312e-05/0.1498, allocations: 75.41 kB / 293.3 MB, free: 16.25 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1498, allocations: 0 / 293.3 MB, free: 16.25 MB / 266.7 MB Notification: Performance of Templates: time 0.004513/0.1543, allocations: 2.315 MB / 295.6 MB, free: 16.08 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.754133651033044]