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.001652/0.001652, allocations: 100.4 kB / 19.7 MB, free: 440 kB / 13.93 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.001767/0.001767, allocations: 211.6 kB / 22.99 MB, free: 2.961 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.055/1.055, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.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.02894/0.02894, allocations: 9.559 MB / 322.7 MB, free: 8.457 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: ChaoticCircuits requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 67.89 kB / 449.1 MB, free: 38 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09505/0.09663, allocations: 55.79 MB / 0.493 GB, free: 14.11 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestHystereticNIC): time 0.002831/0.09946, allocations: 2.044 MB / 0.495 GB, free: 12.04 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007989/0.1003, allocations: 0.6038 MB / 0.4956 GB, free: 11.44 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.1003, allocations: 0 / 0.4956 GB, free: 11.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.1005, allocations: 47.66 kB / 0.4957 GB, free: 11.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.23e-05/0.1006, allocations: 47.62 kB / 0.4957 GB, free: 11.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.1007, allocations: 47.86 kB / 0.4958 GB, free: 11.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.1009, allocations: 187.4 kB / 0.4959 GB, free: 11.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.101, allocations: 25.73 kB / 0.496 GB, free: 11.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1012, allocations: 75.72 kB / 0.496 GB, free: 11.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.906e-05/0.1013, allocations: 79.66 kB / 0.4961 GB, free: 10.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.1013, allocations: 20 kB / 0.4961 GB, free: 10.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.191e-05/0.1013, allocations: 20 kB / 0.4961 GB, free: 10.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.1013, allocations: 43.78 kB / 0.4962 GB, free: 10.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.253e-05/0.1014, allocations: 63.72 kB / 0.4962 GB, free: 10.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.1016, allocations: 191.2 kB / 0.4964 GB, free: 10.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1016, allocations: 0 / 0.4964 GB, free: 10.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1016, allocations: 0 / 0.4964 GB, free: 10.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1016, allocations: 0 / 0.4964 GB, free: 10.61 MB / 362.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.0006632/0.1023, allocations: 435.2 kB / 0.4968 GB, free: 10.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1023, allocations: 8.031 kB / 0.4969 GB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.1024, allocations: 16.84 kB / 0.4969 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.1025, allocations: 166.3 kB / 0.497 GB, free: 9.934 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1025, allocations: 384 / 0.497 GB, free: 9.934 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.1025, allocations: 16.12 kB / 0.497 GB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.1028, allocations: 137.5 kB / 0.4972 GB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1028, allocations: 4 kB / 0.4972 GB, free: 9.773 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1028, allocations: 0 / 0.4972 GB, free: 9.773 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1028, allocations: 4 kB / 0.4972 GB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.1031, allocations: 127.8 kB / 0.4973 GB, free: 9.645 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.1036, allocations: 411.1 kB / 0.4977 GB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.1039, allocations: 126.4 kB / 0.4978 GB, free: 9.074 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.104, allocations: 60.92 kB / 0.4979 GB, free: 9.012 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.1041, allocations: 0 / 0.4979 GB, free: 9.012 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.1043, allocations: 123.3 kB / 0.498 GB, free: 8.879 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1043, allocations: 0 / 0.498 GB, free: 8.879 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004398/0.1047, allocations: 213.3 kB / 0.4982 GB, free: 8.664 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.1048, allocations: 59.41 kB / 0.4983 GB, free: 8.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1049, allocations: 187 kB / 0.4984 GB, free: 8.402 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1049, allocations: 25.7 kB / 0.4985 GB, free: 8.371 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.105, allocations: 124.2 kB / 0.4986 GB, free: 8.242 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.105, allocations: 23.83 kB / 0.4986 GB, free: 8.219 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.105, allocations: 25.72 kB / 0.4986 GB, free: 8.188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.108e-05/0.1051, allocations: 322.8 kB / 0.4989 GB, free: 7.863 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1053, allocations: 89.64 kB / 0.499 GB, free: 7.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.1054, allocations: 120.2 kB / 0.4991 GB, free: 7.637 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.1056, allocations: 152.1 kB / 0.4993 GB, free: 7.473 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1056, allocations: 4 kB / 0.4993 GB, free: 7.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003204/0.106, allocations: 240.9 kB / 0.4995 GB, free: 7.215 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.106, allocations: 38.89 kB / 0.4995 GB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.106, allocations: 0 / 0.4995 GB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.106, allocations: 0 / 0.4995 GB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1061, allocations: 27.91 kB / 0.4996 GB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1061, allocations: 0 / 0.4996 GB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.819e-05/0.1062, allocations: 40.02 kB / 0.4996 GB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1062, allocations: 3.938 kB / 0.4996 GB, free: 7.102 MB / 362.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 8.405e-05/0.1063, allocations: 126.9 kB / 0.4997 GB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.1063, allocations: 15.84 kB / 0.4998 GB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.1064, allocations: 21.39 kB / 0.4998 GB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1064, allocations: 0 / 0.4998 GB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1064, allocations: 0 / 0.4998 GB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1064, allocations: 0 / 0.4998 GB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.1065, allocations: 157.2 kB / 0.4999 GB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1065, allocations: 0 / 0.4999 GB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.1066, allocations: 27.97 kB / 0.4999 GB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1066, allocations: 0 / 0.4999 GB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1066, allocations: 3.938 kB / 0.5 GB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1066, allocations: 0 / 0.5 GB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1066, allocations: 7.938 kB / 0.5 GB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.1068, allocations: 169.2 kB / 0.5001 GB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.1069, allocations: 27.95 kB / 0.5001 GB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.1069, allocations: 7.938 kB / 0.5002 GB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.107, allocations: 23.97 kB / 0.5002 GB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.107, allocations: 19.97 kB / 0.5002 GB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.107, allocations: 3.938 kB / 0.5002 GB, free: 6.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.067e-05/0.1071, allocations: 143.2 kB / 0.5003 GB, free: 6.297 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1071, allocations: 0 / 0.5003 GB, free: 6.297 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001484/0.1073, allocations: 35.88 kB / 0.5004 GB, free: 6.262 MB / 362.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.609e-05/0.1074, allocations: 99.25 kB / 0.5005 GB, free: 6.156 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00033/0.1077, allocations: 220.9 kB / 0.5007 GB, free: 5.922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1077, allocations: 0 / 0.5007 GB, free: 5.922 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.1078, allocations: 63.88 kB / 0.5007 GB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.108, allocations: 24.34 kB / 0.5008 GB, free: 5.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.1085, allocations: 287.1 kB / 0.501 GB, free: 5.523 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.412e-05/0.1085, allocations: 94.27 kB / 0.5011 GB, free: 5.406 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.133e-05/0.1086, allocations: 11.44 kB / 0.5011 GB, free: 5.395 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1086, allocations: 4 kB / 0.5011 GB, free: 5.391 MB / 362.7 MB Notification: Performance of Templates: time 0.002945/0.1115, allocations: 2.016 MB / 0.5031 GB, free: 3.395 MB / 362.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: 5.085914732888341]