Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier.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.000925/0.000925, allocations: 104.3 kB / 19.71 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.0008928/0.0008928, allocations: 209.1 kB / 23 MB, free: 2.988 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 0.9424/0.9424, allocations: 230.6 MB / 256.8 MB, free: 9.617 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.03227/0.03227, allocations: 9.554 MB / 322.7 MB, free: 8.48 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.TestAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier") translateModel(ChaoticCircuits.Test.TestAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier") [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.001385/0.001385, allocations: 71.89 kB / 449.1 MB, free: 38.01 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08878/0.09016, allocations: 55.78 MB / 0.493 GB, free: 14.12 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestAmplifier): time 0.003435/0.0936, allocations: 2.649 MB / 0.4956 GB, free: 11.46 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.09464, allocations: 0.6388 MB / 0.4962 GB, free: 10.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.09478, allocations: 4 kB / 0.4962 GB, free: 10.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.09494, allocations: 47.52 kB / 0.4963 GB, free: 10.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.09506, allocations: 75.34 kB / 0.4964 GB, free: 10.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.09524, allocations: 83.83 kB / 0.4964 GB, free: 10.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.09547, allocations: 302.8 kB / 0.4967 GB, free: 10.31 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.09567, allocations: 88.88 kB / 0.4968 GB, free: 10.22 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.09577, allocations: 119.6 kB / 0.4969 GB, free: 10.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.09589, allocations: 111.3 kB / 0.497 GB, free: 9.992 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.09592, allocations: 28 kB / 0.4971 GB, free: 9.965 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.114e-05/0.09595, allocations: 32 kB / 0.4971 GB, free: 9.934 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.09599, allocations: 59.77 kB / 0.4971 GB, free: 9.875 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.784e-05/0.09607, allocations: 127.5 kB / 0.4973 GB, free: 9.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.09633, allocations: 322.7 kB / 0.4976 GB, free: 9.434 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.09634, allocations: 0 / 0.4976 GB, free: 9.434 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.09634, allocations: 0 / 0.4976 GB, free: 9.434 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.09635, allocations: 4 kB / 0.4976 GB, free: 9.43 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006413/0.09699, allocations: 0.4936 MB / 0.4981 GB, free: 8.906 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.09703, allocations: 15.98 kB / 0.4981 GB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.09708, allocations: 32.75 kB / 0.4981 GB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.09732, allocations: 206.8 kB / 0.4983 GB, free: 8.633 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.09733, allocations: 16.88 kB / 0.4983 GB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.09736, allocations: 28.12 kB / 0.4984 GB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.09774, allocations: 374.4 kB / 0.4987 GB, free: 8.184 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.09775, allocations: 3.938 kB / 0.4987 GB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.09777, allocations: 15.94 kB / 0.4987 GB, free: 8.164 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.09778, allocations: 4 kB / 0.4987 GB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.09802, allocations: 177.9 kB / 0.4989 GB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.09907, allocations: 0.8331 MB / 0.4997 GB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.09932, allocations: 118.7 kB / 0.4998 GB, free: 6.961 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.082e-05/0.0994, allocations: 56.83 kB / 0.4999 GB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.09942, allocations: 0 / 0.4999 GB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.09944, allocations: 38.5 kB / 0.4999 GB, free: 6.855 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.09944, allocations: 0 / 0.4999 GB, free: 6.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006941/0.1001, allocations: 314.2 kB / 0.5002 GB, free: 6.539 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.1002, allocations: 102.8 kB / 0.5003 GB, free: 6.414 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.1003, allocations: 211.1 kB / 0.5005 GB, free: 6.199 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1004, allocations: 29.7 kB / 0.5005 GB, free: 6.164 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.476e-05/0.1004, allocations: 180.1 kB / 0.5007 GB, free: 5.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.1005, allocations: 39.69 kB / 0.5008 GB, free: 5.941 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.1005, allocations: 37.66 kB / 0.5008 GB, free: 5.898 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.1006, allocations: 326.8 kB / 0.5011 GB, free: 5.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.84e-05/0.1007, allocations: 51.97 kB / 0.5012 GB, free: 5.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.1008, allocations: 155.1 kB / 0.5013 GB, free: 5.328 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.101, allocations: 157.8 kB / 0.5015 GB, free: 5.152 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.101, allocations: 4 kB / 0.5015 GB, free: 5.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003378/0.1013, allocations: 246.1 kB / 0.5017 GB, free: 4.898 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1013, allocations: 10.17 kB / 0.5017 GB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1013, allocations: 7.938 kB / 0.5017 GB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/0.1016, allocations: 76.98 kB / 0.5018 GB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.1016, allocations: 27.92 kB / 0.5018 GB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.1029, allocations: 1.628 MB / 0.5034 GB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.293e-05/0.103, allocations: 27.88 kB / 0.5034 GB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.103, allocations: 4 kB / 0.5034 GB, free: 3.008 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (opAmp.limiter.satNeg,opAmp.limiter.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 9.226e-05/0.1031, allocations: 150 kB / 0.5036 GB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.1031, allocations: 19.91 kB / 0.5036 GB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.1031, allocations: 21.41 kB / 0.5036 GB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.1031, allocations: 0 / 0.5036 GB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.1031, allocations: 0 / 0.5036 GB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1031, allocations: 0 / 0.5036 GB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.1033, allocations: 197.1 kB / 0.5038 GB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1033, allocations: 4 kB / 0.5038 GB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.883e-05/0.1033, allocations: 4 kB / 0.5038 GB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001562/0.1035, allocations: 80.72 kB / 0.5039 GB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1035, allocations: 0 / 0.5039 GB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.1046, allocations: 1.641 MB / 0.5055 GB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1046, allocations: 8.109 kB / 0.5055 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.1049, allocations: 292.1 kB / 0.5058 GB, free: 448 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.1049, allocations: 15.91 kB / 0.5058 GB, free: 432 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.1049, allocations: 16.05 kB / 0.5058 GB, free: 416 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.105, allocations: 15.98 kB / 0.5058 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.105, allocations: 15.97 kB / 0.5058 GB, free: 384 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.105, allocations: 4 kB / 0.5058 GB, free: 380 kB / 362.7 MB Notification: Performance of sorting global known variables: time 8.754e-05/0.1051, allocations: 148.5 kB / 0.506 GB, free: 232 kB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1051, allocations: 0 / 0.506 GB, free: 232 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002044/0.1053, allocations: 71.84 kB / 0.506 GB, free: 160 kB / 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: 2 (opAmp.limiter.satPos,opAmp.limiter.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002401/0.1055, allocations: 103.2 kB / 0.5061 GB, free: 48 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003676/0.1059, allocations: 254.4 kB / 0.5064 GB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1059, allocations: 0 / 0.5064 GB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.1061, allocations: 191 kB / 0.5066 GB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.1063, allocations: 36.08 kB / 0.5066 GB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.1068, allocations: 437.5 kB / 0.507 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.526e-05/0.1069, allocations: 142.1 kB / 0.5072 GB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.1069, allocations: 15.44 kB / 0.5072 GB, free: 14.91 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1069, allocations: 0 / 0.5072 GB, free: 14.91 MB / 378.7 MB Notification: Performance of Templates: time 0.003794/0.1107, allocations: 3.604 MB / 0.5107 GB, free: 11.31 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier.sim & ./ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier > ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.02571124304086]