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.000713/0.000713, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.001775, allocations: 440 kB / 10.41 MB, free: 284 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.0007558/0.0007558, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.001823, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.052/1.052, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1389/1.19, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.03924/0.03924, allocations: 7.109 MB / 251.3 MB, free: 7.762 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007774/0.04701, allocations: 2.853 MB / 254.1 MB, free: 4.906 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.292e-06/1.292e-06, allocations: 0 / 255.4 MB, free: 3.625 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.683e-05, allocations: 2.312 kB / 255.4 MB, free: 3.621 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestHystereticNIC): time 0.002857/0.002883, allocations: 2.2 MB / 257.6 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009282/0.003812, allocations: 0.6425 MB / 258.2 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.828e-05/0.00388, allocations: 0 / 258.2 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.004036, allocations: 51.69 kB / 258.3 MB, free: 0.707 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.572e-05/0.004102, allocations: 47.64 kB / 258.3 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.004237, allocations: 47.81 kB / 258.4 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.004427, allocations: 203.2 kB / 258.6 MB, free: 424 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.004536, allocations: 30.44 kB / 258.6 MB, free: 396 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.00472, allocations: 135.8 kB / 258.7 MB, free: 260 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.004828, allocations: 63.8 kB / 258.8 MB, free: 196 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.004857, allocations: 20 kB / 258.8 MB, free: 176 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.397e-05/0.004881, allocations: 20 kB / 258.8 MB, free: 156 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.004918, allocations: 23.94 kB / 258.9 MB, free: 132 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.00497, allocations: 47.88 kB / 258.9 MB, free: 84 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.005168, allocations: 111.7 kB / 259 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.00518, allocations: 0 / 259 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.005182, allocations: 0 / 259 MB, free: 15.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.005193, allocations: 0 / 259 MB, free: 15.97 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.0006179/0.005811, allocations: 429.4 kB / 259.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.005848, allocations: 8.625 kB / 259.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.0059, allocations: 20.92 kB / 259.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.006025, allocations: 137.6 kB / 259.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.006061, allocations: 8.375 kB / 259.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.006087, allocations: 8.375 kB / 259.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.006294, allocations: 107.6 kB / 259.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.006305, allocations: 7.875 kB / 259.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.006318, allocations: 4 kB / 259.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.006327, allocations: 4 kB / 259.7 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.435e-05/0.006381, allocations: 22.95 kB / 259.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.006868, allocations: 283.1 kB / 260 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.772e-05/0.006966, allocations: 42.56 kB / 260.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.006989, allocations: 12.86 kB / 260.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.006999, allocations: 0 / 260.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.007152, allocations: 71.47 kB / 260.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.007154, allocations: 3.938 kB / 260.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001494/0.007303, allocations: 61.67 kB / 260.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.007341, allocations: 55.41 kB / 260.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.007458, allocations: 179 kB / 260.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.007481, allocations: 29.69 kB / 260.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/0.007544, allocations: 116.2 kB / 260.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.00756, allocations: 15.89 kB / 260.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.007604, allocations: 25.7 kB / 260.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.402e-05/0.007698, allocations: 326.8 kB / 261 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.818e-05/0.007746, allocations: 41.69 kB / 261 MB, free: 13.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.38e-05/0.00779, allocations: 64.16 kB / 261.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.948e-05/0.007869, allocations: 76.23 kB / 261.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.007872, allocations: 0 / 261.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001379/0.00801, allocations: 140.9 kB / 261.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/0.008051, allocations: 33.7 kB / 261.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.008058, allocations: 0 / 261.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.008073, allocations: 0 / 261.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.008182, allocations: 19.98 kB / 261.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.008186, allocations: 0 / 261.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.899e-05/0.008265, allocations: 27.81 kB / 261.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.008278, allocations: 12.23 kB / 261.4 MB, free: 13.4 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 7.685e-05/0.008355, allocations: 113.8 kB / 261.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.008371, allocations: 12.05 kB / 261.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.008403, allocations: 17.47 kB / 261.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.008406, allocations: 4 kB / 261.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.008411, allocations: 4 kB / 261.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.008415, allocations: 3.938 kB / 261.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.008516, allocations: 101.8 kB / 261.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.008517, allocations: 0 / 261.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.953e-05/0.008567, allocations: 11.98 kB / 261.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.008585, allocations: 15.89 kB / 261.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.008587, allocations: 0 / 261.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.008594, allocations: 4 kB / 261.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.008595, allocations: 0 / 261.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.008597, allocations: 4 kB / 261.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.008715, allocations: 88.97 kB / 261.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.008737, allocations: 4 kB / 261.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.685e-05/0.008793, allocations: 19.97 kB / 261.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.008851, allocations: 15.97 kB / 261.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.008857, allocations: 0 / 261.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.196e-05/0.008909, allocations: 44.81 kB / 261.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008909, allocations: 0 / 261.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001348/0.009044, allocations: 35.94 kB / 261.8 MB, free: 12.86 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 0.0001251/0.009169, allocations: 80.47 kB / 261.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.009353, allocations: 133.8 kB / 262.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.009362, allocations: 4 kB / 262.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.183e-05/0.009414, allocations: 24.8 kB / 262.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.00968, allocations: 270.1 kB / 262.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000768/0.01045, allocations: 244.5 kB / 262.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.913e-05/0.01049, allocations: 67.33 kB / 262.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.504e-05/0.01054, allocations: 4.984 kB / 262.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.01065, allocations: 87.22 kB / 262.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01065, allocations: 4 kB / 262.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of Templates: time 0.004369/0.01502, allocations: 2.363 MB / 265.1 MB, free: 9.508 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.7556888796389103]