Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode.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.0007865/0.0007865, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 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.0008726/0.0008726, allocations: 222.3 kB / 22.25 MB, free: 3.578 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.9683/0.9683, allocations: 230.6 MB / 256 MB, free: 9.594 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.05366/0.05366, allocations: 9.544 MB / 322 MB, free: 8.477 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: "" <> buildModelFMU(ChaoticCircuits.Test.TestOpAmpTriode,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestOpAmpTriode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.TestOpAmpTriode,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestOpAmpTriode",fmuType="me",version="2.0",platforms={"static"}) [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.00143/0.00143, allocations: 67.91 kB / 448.6 MB, free: 37.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0879/0.08933, allocations: 55.79 MB / 0.4926 GB, free: 13.83 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestOpAmpTriode): time 0.003831/0.09316, allocations: 3.342 MB / 0.4958 GB, free: 10.46 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.09453, allocations: 0.8374 MB / 0.4967 GB, free: 9.625 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.09472, allocations: 11.94 kB / 0.4967 GB, free: 9.613 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.09494, allocations: 83.16 kB / 0.4967 GB, free: 9.531 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.09513, allocations: 126.9 kB / 0.4969 GB, free: 9.406 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.09544, allocations: 147.8 kB / 0.497 GB, free: 9.262 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004242/0.09587, allocations: 0.5413 MB / 0.4975 GB, free: 8.719 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002909/0.09616, allocations: 196.7 kB / 0.4977 GB, free: 8.516 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.09637, allocations: 223.2 kB / 0.4979 GB, free: 8.297 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.09658, allocations: 206.9 kB / 0.4981 GB, free: 8.094 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.333e-05/0.09663, allocations: 60 kB / 0.4982 GB, free: 8.035 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.058e-05/0.09668, allocations: 56 kB / 0.4982 GB, free: 7.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.09676, allocations: 123.6 kB / 0.4984 GB, free: 7.859 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.0969, allocations: 219 kB / 0.4986 GB, free: 7.645 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00044/0.09734, allocations: 0.6069 MB / 0.4992 GB, free: 7.035 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.09735, allocations: 8 kB / 0.4992 GB, free: 7.027 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.09735, allocations: 0 / 0.4992 GB, free: 7.027 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.09736, allocations: 0 / 0.4992 GB, free: 7.027 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0009383/0.0983, allocations: 0.7156 MB / 0.4999 GB, free: 6.277 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.09834, allocations: 8.031 kB / 0.4999 GB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.139e-05/0.09841, allocations: 90.7 kB / 0.5 GB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.09848, allocations: 56.61 kB / 0.5 GB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.09881, allocations: 282.5 kB / 0.5003 GB, free: 5.812 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.09884, allocations: 41.36 kB / 0.5003 GB, free: 5.773 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.09888, allocations: 51.94 kB / 0.5004 GB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.09951, allocations: 0.6763 MB / 0.501 GB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.09952, allocations: 0 / 0.501 GB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.09955, allocations: 20 kB / 0.5011 GB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.09956, allocations: 12 kB / 0.5011 GB, free: 4.949 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006866/0.1002, allocations: 343.8 kB / 0.5014 GB, free: 4.613 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.1019, allocations: 1.521 MB / 0.5029 GB, free: 2.988 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.1023, allocations: 218.7 kB / 0.5031 GB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.1024, allocations: 101.2 kB / 0.5032 GB, free: 2.664 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.1024, allocations: 4 kB / 0.5032 GB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.1024, allocations: 46.36 kB / 0.5032 GB, free: 2.605 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.713e-06/0.1025, allocations: 0 / 0.5032 GB, free: 2.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009784/0.1034, allocations: 0.5017 MB / 0.5037 GB, free: 2.094 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.1035, allocations: 158.2 kB / 0.5039 GB, free: 1.902 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.1037, allocations: 320.4 kB / 0.5042 GB, free: 1.574 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.1037, allocations: 33.7 kB / 0.5042 GB, free: 1.535 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1039, allocations: 280.1 kB / 0.5045 GB, free: 1.258 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.1039, allocations: 79.33 kB / 0.5046 GB, free: 1.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.08e-05/0.104, allocations: 77.59 kB / 0.5046 GB, free: 1.098 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1041, allocations: 338.8 kB / 0.505 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.1042, allocations: 99.94 kB / 0.5051 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.1045, allocations: 336.9 kB / 0.5054 GB, free: 244 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.1048, allocations: 310.5 kB / 0.5057 GB, free: 15.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1048, allocations: 3.938 kB / 0.5057 GB, free: 15.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000599/0.1054, allocations: 436.6 kB / 0.5061 GB, free: 15.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1054, allocations: 11.94 kB / 0.5061 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.1054, allocations: 4 kB / 0.5061 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002862/0.1057, allocations: 92.78 kB / 0.5062 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.1058, allocations: 55.91 kB / 0.5062 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.1076, allocations: 2.012 MB / 0.5082 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.1077, allocations: 67.64 kB / 0.5083 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.1078, allocations: 19.98 kB / 0.5083 GB, free: 13.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 6 (opAmp.limiter.satNeg,opAmp.limiter.satPos,multiplier.limiter2.satNeg,multiplier.limiter2.satPos,multiplier.limiter1.satNeg,multiplier.limiter1.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.1079, allocations: 169.8 kB / 0.5085 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.1079, allocations: 39.69 kB / 0.5085 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.108, allocations: 34.45 kB / 0.5085 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.108, allocations: 4 kB / 0.5085 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.108, allocations: 0 / 0.5085 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.108, allocations: 0 / 0.5085 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.1083, allocations: 348.5 kB / 0.5089 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1083, allocations: 3.938 kB / 0.5089 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.186e-05/0.1084, allocations: 19.98 kB / 0.5089 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/0.1086, allocations: 100.7 kB / 0.509 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.1086, allocations: 4 kB / 0.509 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.11, allocations: 1.998 MB / 0.5109 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.11, allocations: 0 / 0.5109 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004343/0.1104, allocations: 406.9 kB / 0.5113 GB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/0.1105, allocations: 55.72 kB / 0.5114 GB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.1105, allocations: 4 kB / 0.5114 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.1106, allocations: 43.89 kB / 0.5114 GB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/0.1107, allocations: 31.89 kB / 0.5115 GB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1107, allocations: 15.98 kB / 0.5115 GB, free: 9.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001608/0.1109, allocations: 211.1 kB / 0.5117 GB, free: 9.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1109, allocations: 0 / 0.5117 GB, free: 9.418 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004041/0.1113, allocations: 127.7 kB / 0.5118 GB, free: 9.293 MB / 378.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: 6 (multiplier.limiter1.satPos,multiplier.limiter1.satNeg,multiplier.limiter2.satPos,multiplier.limiter2.satNeg,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 (16): * Single equations (assignments): 15 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006477/0.1119, allocations: 0.9432 MB / 0.5127 GB, free: 8.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005514/0.1125, allocations: 382.8 kB / 0.5131 GB, free: 7.938 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1125, allocations: 320 / 0.5131 GB, free: 7.938 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.1127, allocations: 258.3 kB / 0.5133 GB, free: 7.672 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.113, allocations: 55.75 kB / 0.5134 GB, free: 7.621 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.1162, allocations: 3.388 MB / 0.5167 GB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.1164, allocations: 207.8 kB / 0.5169 GB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.1165, allocations: 34.97 kB / 0.5169 GB, free: 3.793 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.1166, allocations: 143.3 kB / 0.5171 GB, free: 3.652 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1166, allocations: 0 / 0.5171 GB, free: 3.652 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08852/0.2051, allocations: 8.742 MB / 0.5256 GB, free: 11.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/7.987, allocations: 11.16 kB / 0.5256 GB, free: 11.07 MB / 394.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_TestOpAmpTriode_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_TestOpAmpTriode.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ../ChaoticCircuits_ChaoticCircuits_Test_TestOpAmpTriode.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.436782314442098]