Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit.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.0008023/0.0008023, 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.0009157/0.0009157, allocations: 221.8 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.9452/0.9452, allocations: 230.6 MB / 256 MB, free: 9.609 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.027/0.027, allocations: 9.546 MB / 322 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: "" <> buildModelFMU(ChaoticCircuits.RoesslerSystem.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_RoesslerSystem_IdealCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.RoesslerSystem.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_RoesslerSystem_IdealCircuit",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.0009265/0.0009265, allocations: 75.89 kB / 448.6 MB, free: 37.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08721/0.08814, allocations: 55.78 MB / 0.4926 GB, free: 13.83 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RoesslerSystem.IdealCircuit): time 0.004839/0.09298, allocations: 5.222 MB / 0.4977 GB, free: 8.582 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.09492, allocations: 1.266 MB / 0.4989 GB, free: 7.312 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003064/0.09522, allocations: 23.88 kB / 0.499 GB, free: 7.289 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.09552, allocations: 178.3 kB / 0.4991 GB, free: 7.113 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.09589, allocations: 285.4 kB / 0.4994 GB, free: 6.832 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.0963, allocations: 263.6 kB / 0.4996 GB, free: 6.574 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007025/0.097, allocations: 1.172 MB / 0.5008 GB, free: 5.398 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000374/0.09737, allocations: 342.1 kB / 0.5011 GB, free: 5.043 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.09764, allocations: 450.5 kB / 0.5015 GB, free: 4.602 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000594/0.09824, allocations: 437.7 kB / 0.502 GB, free: 4.172 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.331e-05/0.09833, allocations: 108 kB / 0.5021 GB, free: 4.066 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.735e-05/0.09843, allocations: 108 kB / 0.5022 GB, free: 3.961 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.09855, allocations: 235.2 kB / 0.5024 GB, free: 3.727 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.09879, allocations: 450 kB / 0.5028 GB, free: 3.285 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006902/0.09948, allocations: 1.202 MB / 0.504 GB, free: 2.078 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.09949, allocations: 0 / 0.504 GB, free: 2.078 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.09949, allocations: 0 / 0.504 GB, free: 2.078 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.0995, allocations: 0 / 0.504 GB, free: 2.078 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.001254/0.1008, allocations: 1.225 MB / 0.5052 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1008, allocations: 12.03 kB / 0.5052 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.1009, allocations: 148.1 kB / 0.5053 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.101, allocations: 116.2 kB / 0.5055 GB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004996/0.1015, allocations: 459.8 kB / 0.5059 GB, free: 68 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.094e-05/0.1016, allocations: 70.42 kB / 0.506 GB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.378e-05/0.1016, allocations: 95.94 kB / 0.5061 GB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.1027, allocations: 1.266 MB / 0.5073 GB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.1027, allocations: 0 / 0.5073 GB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/0.1027, allocations: 44 kB / 0.5073 GB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.1027, allocations: 24 kB / 0.5074 GB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007032/0.1034, allocations: 0.6051 MB / 0.5079 GB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.1067, allocations: 3.112 MB / 0.511 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004401/0.1072, allocations: 369.6 kB / 0.5113 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.1074, allocations: 170.1 kB / 0.5115 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.1074, allocations: 4.438 kB / 0.5115 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.1074, allocations: 46.98 kB / 0.5116 GB, free: 9.961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 1.823e-06/0.1074, allocations: 4 kB / 0.5116 GB, free: 9.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.0005892/0.108, allocations: 486.7 kB / 0.512 GB, free: 9.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.1081, allocations: 111.2 kB / 0.5121 GB, free: 9.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005/0.1086, allocations: 0.616 MB / 0.5127 GB, free: 8.719 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.1086, allocations: 33.7 kB / 0.5128 GB, free: 8.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.1088, allocations: 0.4915 MB / 0.5132 GB, free: 8.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.433e-05/0.1089, allocations: 170.6 kB / 0.5134 GB, free: 8.012 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.109, allocations: 138.6 kB / 0.5135 GB, free: 7.871 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1092, allocations: 378.7 kB / 0.5139 GB, free: 7.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.1094, allocations: 169.9 kB / 0.5141 GB, free: 7.324 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.1097, allocations: 476.8 kB / 0.5145 GB, free: 6.734 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.1102, allocations: 0.6064 MB / 0.5151 GB, free: 6.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1102, allocations: 0 / 0.5151 GB, free: 6.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009893/0.1112, allocations: 0.6925 MB / 0.5158 GB, free: 5.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.1113, allocations: 12 kB / 0.5158 GB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.1113, allocations: 8 kB / 0.5158 GB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.1113, allocations: 12 kB / 0.5158 GB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.1117, allocations: 187.7 kB / 0.516 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.1117, allocations: 19.92 kB / 0.516 GB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.112, allocations: 99.28 kB / 0.5161 GB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.112, allocations: 43.98 kB / 0.5161 GB, free: 4.945 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 4 (multiplier_xz.limiter2.satNeg,multiplier_xz.limiter2.satPos,multiplier_xz.limiter1.satNeg,multiplier_xz.limiter1.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001775/0.1122, allocations: 217.5 kB / 0.5164 GB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.1122, allocations: 75.53 kB / 0.5164 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.157e-05/0.1123, allocations: 74.56 kB / 0.5165 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.1123, allocations: 4 kB / 0.5165 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1123, allocations: 0 / 0.5165 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1123, allocations: 11.92 kB / 0.5165 GB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008583/0.1132, allocations: 0.9936 MB / 0.5175 GB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1132, allocations: 0 / 0.5175 GB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.1134, allocations: 115.9 kB / 0.5176 GB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.1134, allocations: 4 kB / 0.5176 GB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.1134, allocations: 15.94 kB / 0.5176 GB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1134, allocations: 0 / 0.5176 GB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1134, allocations: 0 / 0.5176 GB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/0.114, allocations: 0.6456 MB / 0.5182 GB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.1141, allocations: 103.4 kB / 0.5183 GB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.1142, allocations: 11.94 kB / 0.5184 GB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.1144, allocations: 67.94 kB / 0.5184 GB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.1145, allocations: 27.95 kB / 0.5184 GB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.1145, allocations: 19.98 kB / 0.5185 GB, free: 2.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003072/0.1148, allocations: 422.8 kB / 0.5189 GB, free: 2.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1148, allocations: 0 / 0.5189 GB, free: 2.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003661/0.1151, allocations: 235.4 kB / 0.5191 GB, free: 1.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (c_x.v,c_y.v,c_z.v) * Number of discrete variables: 4 (multiplier_xz.limiter1.satPos,multiplier_xz.limiter1.satNeg,multiplier_xz.limiter2.satPos,multiplier_xz.limiter2.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0007121/0.1159, allocations: 1.202 MB / 0.5203 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004407/0.1163, allocations: 423.8 kB / 0.5207 GB, free: 204 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1163, allocations: 4 kB / 0.5207 GB, free: 200 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.1164, allocations: 159.9 kB / 0.5208 GB, free: 40 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.1168, allocations: 124.8 kB / 0.5209 GB, free: 15.92 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/0.1216, allocations: 5.758 MB / 0.5266 GB, free: 9.852 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.1218, allocations: 361.4 kB / 0.5269 GB, free: 9.469 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002029/0.122, allocations: 85.56 kB / 0.527 GB, free: 9.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.1222, allocations: 291.3 kB / 0.5273 GB, free: 9.098 MB / 394.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1222, allocations: 0 / 0.5273 GB, free: 9.098 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08563/0.2079, allocations: 15.15 MB / 0.5421 GB, free: 10.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.419/7.627, allocations: 7.797 kB / 0.5421 GB, free: 10.22 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_RoesslerSystem_IdealCircuit_fmu --startTime=0 --stopTime=1000 --stepSize=0.01 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_RoesslerSystem_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit_fmpy_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ../ChaoticCircuits_ChaoticCircuits_RoesslerSystem_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.001062211580575]