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.001273/0.001273, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.001579/0.001579, allocations: 173 kB / 24.06 MB, free: 456 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.9352/0.9352, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.02523/0.02523, allocations: 7.113 MB / 268.2 MB, free: 5.902 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.493e-06/1.493e-06, allocations: 0 / 339.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.523e-05, allocations: 2.312 kB / 339.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestHystereticNIC): time 0.002395/0.00241, allocations: 2.144 MB / 341.6 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007723/0.003183, allocations: 0.6192 MB / 342.2 MB, free: 7.652 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.003244, allocations: 4 kB / 342.2 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.003445, allocations: 43.64 kB / 342.3 MB, free: 7.605 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.008e-05/0.003495, allocations: 59.5 kB / 342.3 MB, free: 7.547 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.003627, allocations: 43.94 kB / 342.4 MB, free: 7.504 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.003753, allocations: 191.2 kB / 342.6 MB, free: 7.316 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.325e-05/0.003836, allocations: 29.78 kB / 342.6 MB, free: 7.289 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.003947, allocations: 99.8 kB / 342.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.535e-05/0.004023, allocations: 71.78 kB / 342.8 MB, free: 7.121 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.004047, allocations: 24 kB / 342.8 MB, free: 7.098 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.796e-05/0.004065, allocations: 20 kB / 342.8 MB, free: 7.078 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.004092, allocations: 35.84 kB / 342.8 MB, free: 7.043 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.004129, allocations: 51.89 kB / 342.9 MB, free: 6.992 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.004247, allocations: 131.5 kB / 343 MB, free: 6.863 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.004249, allocations: 3.938 kB / 343 MB, free: 6.859 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004249, allocations: 0 / 343 MB, free: 6.859 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.004253, allocations: 0 / 343 MB, free: 6.859 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.0004257/0.004678, allocations: 0.5171 MB / 343.5 MB, free: 6.301 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.004706, allocations: 12.03 kB / 343.6 MB, free: 6.289 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.004744, allocations: 24.84 kB / 343.6 MB, free: 6.266 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.713e-05/0.004811, allocations: 140.4 kB / 343.7 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.00483, allocations: 8.375 kB / 343.7 MB, free: 6.094 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.004843, allocations: 8.359 kB / 343.7 MB, free: 6.086 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.004977, allocations: 106.8 kB / 343.8 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.004983, allocations: 3.938 kB / 343.8 MB, free: 5.969 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.004993, allocations: 4 kB / 343.8 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.004997, allocations: 4 kB / 343.9 MB, free: 5.961 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.601e-05/0.005043, allocations: 27.09 kB / 343.9 MB, free: 5.938 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.0054, allocations: 419.1 kB / 344.3 MB, free: 5.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.775e-05/0.005478, allocations: 51.03 kB / 344.3 MB, free: 5.434 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.005499, allocations: 15.62 kB / 344.4 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-06/0.005508, allocations: 128 / 344.4 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.771e-05/0.005595, allocations: 84.95 kB / 344.4 MB, free: 5.316 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.005596, allocations: 0 / 344.4 MB, free: 5.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001408/0.005737, allocations: 85.58 kB / 344.5 MB, free: 5.227 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.551e-05/0.005752, allocations: 55.41 kB / 344.6 MB, free: 5.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.625e-05/0.005839, allocations: 241.7 kB / 344.8 MB, free: 4.906 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.005849, allocations: 25.7 kB / 344.8 MB, free: 4.875 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.005899, allocations: 178.9 kB / 345 MB, free: 4.691 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.005911, allocations: 15.89 kB / 345 MB, free: 4.676 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.005948, allocations: 35.34 kB / 345.1 MB, free: 4.633 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.576e-05/0.005994, allocations: 0.4962 MB / 345.6 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.158e-05/0.006026, allocations: 33.7 kB / 345.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.62e-05/0.006062, allocations: 80.66 kB / 345.7 MB, free: 3.988 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.414e-05/0.006116, allocations: 76.77 kB / 345.7 MB, free: 3.895 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006118, allocations: 0 / 345.7 MB, free: 3.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000114/0.006232, allocations: 148.9 kB / 345.9 MB, free: 3.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.00625, allocations: 37.7 kB / 345.9 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.006254, allocations: 3.984 kB / 345.9 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.006263, allocations: 0 / 345.9 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.172e-05/0.006335, allocations: 19.98 kB / 345.9 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.006338, allocations: 3.938 kB / 346 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.006403, allocations: 20 kB / 346 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.006412, allocations: 8 kB / 346 MB, free: 3.633 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.782e-05/0.00647, allocations: 173.4 kB / 346.1 MB, free: 3.453 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.006485, allocations: 7.953 kB / 346.2 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.006511, allocations: 21.45 kB / 346.2 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006513, allocations: 0 / 346.2 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.006515, allocations: 4 kB / 346.2 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.006519, allocations: 3.938 kB / 346.2 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.739e-05/0.006596, allocations: 141.1 kB / 346.3 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.006597, allocations: 0 / 346.3 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.006629, allocations: 15.98 kB / 346.3 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.006631, allocations: 3.938 kB / 346.3 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.006637, allocations: 0 / 346.3 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.006638, allocations: 0 / 346.3 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.006639, allocations: 336 / 346.3 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.405e-05/0.006733, allocations: 116.2 kB / 346.5 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.006747, allocations: 15.91 kB / 346.5 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.006762, allocations: 0 / 346.5 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-05/0.00681, allocations: 15.98 kB / 346.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.006852, allocations: 23.95 kB / 346.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.006858, allocations: 7.984 kB / 346.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.733e-05/0.006895, allocations: 160.2 kB / 346.7 MB, free: 2.875 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006895, allocations: 0 / 346.7 MB, free: 2.875 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000132/0.007027, allocations: 32 kB / 346.7 MB, free: 2.844 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 5.126e-05/0.007079, allocations: 103.2 kB / 346.8 MB, free: 2.734 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.007187, allocations: 140.7 kB / 346.9 MB, free: 2.574 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.007188, allocations: 4 kB / 346.9 MB, free: 2.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.232e-05/0.007221, allocations: 19.69 kB / 347 MB, free: 2.547 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.007367, allocations: 28.09 kB / 347 MB, free: 2.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.007658, allocations: 274.1 kB / 347.3 MB, free: 2.223 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.142e-05/0.0077, allocations: 102.1 kB / 347.4 MB, free: 2.098 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.478e-05/0.007784, allocations: 94.17 kB / 347.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007785, allocations: 0 / 347.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of Templates: time 0.001896/0.009681, allocations: 2.027 MB / 349.5 MB, free: 15.99 MB / 282.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 > ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5179554889909923]