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.0008446/0.0008446, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.00122/0.00122, allocations: 165 kB / 24.22 MB, free: 240 kB / 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.9789/0.9789, allocations: 177.2 MB / 204.7 MB, free: 5 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.02681/0.02681, allocations: 7.116 MB / 268.3 MB, free: 5.723 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.723e-06/1.723e-06, allocations: 0 / 287.3 MB, free: 2.738 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.177e-05, allocations: 2.312 kB / 287.3 MB, free: 2.734 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestHystereticNIC): time 0.002672/0.002694, allocations: 2.185 MB / 289.4 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1254/0.1281, allocations: 0.6161 MB / 290.1 MB, free: 19.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.1282, allocations: 2.688 kB / 290.1 MB, free: 19.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.1285, allocations: 51.89 kB / 290.1 MB, free: 19.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.02e-05/0.1285, allocations: 52.47 kB / 290.2 MB, free: 19.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.1287, allocations: 51.42 kB / 290.2 MB, free: 19.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.1289, allocations: 197.1 kB / 290.4 MB, free: 19.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.129, allocations: 23.77 kB / 290.4 MB, free: 19.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.1292, allocations: 107 kB / 290.5 MB, free: 19.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.1293, allocations: 68.41 kB / 290.6 MB, free: 19.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.1293, allocations: 18.59 kB / 290.6 MB, free: 19.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.767e-05/0.1293, allocations: 19.84 kB / 290.6 MB, free: 19.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.1294, allocations: 40 kB / 290.7 MB, free: 19.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.501e-05/0.1294, allocations: 59.22 kB / 290.7 MB, free: 19.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.1296, allocations: 123.7 kB / 290.9 MB, free: 19.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1296, allocations: 0 / 290.9 MB, free: 19.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1296, allocations: 1.844 kB / 290.9 MB, free: 19.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1296, allocations: 0.8125 kB / 290.9 MB, free: 19.34 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.0005418/0.1302, allocations: 401.7 kB / 291.3 MB, free: 19.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1302, allocations: 10.95 kB / 291.3 MB, free: 19.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.1303, allocations: 18.5 kB / 291.3 MB, free: 19.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.247e-05/0.1304, allocations: 137.7 kB / 291.4 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.1304, allocations: 9.172 kB / 291.4 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.1304, allocations: 12.06 kB / 291.4 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.1306, allocations: 107 kB / 291.5 MB, free: 18.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1306, allocations: 0.5156 kB / 291.5 MB, free: 18.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1306, allocations: 6.766 kB / 291.6 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1306, allocations: 1.438 kB / 291.6 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.066e-05/0.1306, allocations: 27.39 kB / 291.6 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.131, allocations: 281.7 kB / 291.9 MB, free: 18.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.714e-05/0.1311, allocations: 38 kB / 291.9 MB, free: 18.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.1311, allocations: 15.88 kB / 291.9 MB, free: 18.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.1311, allocations: 3.281 kB / 291.9 MB, free: 18.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.1312, allocations: 78.41 kB / 292 MB, free: 18.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1312, allocations: 0.5625 kB / 292 MB, free: 18.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001394/0.1314, allocations: 65.2 kB / 292.1 MB, free: 18.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.1314, allocations: 53.62 kB / 292.1 MB, free: 18.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.1315, allocations: 170.6 kB / 292.3 MB, free: 18.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1315, allocations: 31.53 kB / 292.3 MB, free: 18.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.1316, allocations: 120.9 kB / 292.4 MB, free: 18.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.1316, allocations: 15.39 kB / 292.4 MB, free: 18.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.1316, allocations: 26.78 kB / 292.5 MB, free: 18.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.1317, allocations: 331 kB / 292.8 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.606e-05/0.1317, allocations: 40.34 kB / 292.8 MB, free: 17.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.1317, allocations: 67.17 kB / 292.9 MB, free: 17.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.905e-05/0.1318, allocations: 72.77 kB / 293 MB, free: 17.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1318, allocations: 0.875 kB / 293 MB, free: 17.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001062/0.1319, allocations: 133.2 kB / 293.1 MB, free: 17.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.1319, allocations: 37.45 kB / 293.1 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1319, allocations: 2.438 kB / 293.1 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1319, allocations: 1.219 kB / 293.1 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-05/0.132, allocations: 23.69 kB / 293.2 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.132, allocations: 1.062 kB / 293.2 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.205e-05/0.1321, allocations: 19.48 kB / 293.2 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.1321, allocations: 14.84 kB / 293.2 MB, free: 17.61 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 5.138e-05/0.1322, allocations: 122.4 kB / 293.3 MB, free: 17.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.1322, allocations: 8.547 kB / 293.3 MB, free: 17.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.1322, allocations: 18.53 kB / 293.3 MB, free: 17.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1322, allocations: 1.891 kB / 293.3 MB, free: 17.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1322, allocations: 0 / 293.3 MB, free: 17.49 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1322, allocations: 1.906 kB / 293.3 MB, free: 17.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.416e-05/0.1323, allocations: 111.7 kB / 293.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1323, allocations: 0 / 293.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/0.1323, allocations: 15.2 kB / 293.5 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1323, allocations: 1.453 kB / 293.5 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.1323, allocations: 2.547 kB / 293.5 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1323, allocations: 1.188 kB / 293.5 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1323, allocations: 0 / 293.5 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.419e-05/0.1324, allocations: 85.98 kB / 293.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.471e-05/0.1324, allocations: 11.84 kB / 293.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.1325, allocations: 3.203 kB / 293.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.092e-05/0.1325, allocations: 14.52 kB / 293.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.1326, allocations: 17.69 kB / 293.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.1326, allocations: 6.062 kB / 293.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.52e-05/0.1326, allocations: 42.72 kB / 293.6 MB, free: 17.33 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1326, allocations: 0 / 293.6 MB, free: 17.33 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001245/0.1327, allocations: 33.47 kB / 293.7 MB, free: 17.33 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 7.706e-05/0.1328, allocations: 85.48 kB / 293.8 MB, free: 17.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.133, allocations: 128.2 kB / 293.9 MB, free: 17.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.133, allocations: 1.031 kB / 293.9 MB, free: 17.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.198e-05/0.133, allocations: 24.52 kB / 293.9 MB, free: 17.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.1331, allocations: 29.81 kB / 293.9 MB, free: 17.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.1335, allocations: 251.1 kB / 294.2 MB, free: 16.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.59e-05/0.1335, allocations: 65.36 kB / 294.2 MB, free: 16.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.464e-05/0.1335, allocations: 10.61 kB / 294.3 MB, free: 16.9 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.271e-05/0.1336, allocations: 76.73 kB / 294.3 MB, free: 16.86 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1336, allocations: 0 / 294.3 MB, free: 16.86 MB / 266.7 MB Notification: Performance of Templates: time 0.004882/0.1385, allocations: 2.323 MB / 296.7 MB, free: 16.68 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.678505207411945]