Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.RikitakeSystem.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.001097/0.001097, 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.004366/0.004366, allocations: 221.2 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.9719/0.9719, 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.03681/0.03681, allocations: 9.556 MB / 322 MB, free: 8.473 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.RikitakeSystem.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_RikitakeSystem_IdealCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.RikitakeSystem.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_RikitakeSystem_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.001152/0.001152, allocations: 75.89 kB / 448.6 MB, free: 37.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08282/0.08397, allocations: 55.77 MB / 0.4926 GB, free: 13.82 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.IdealCircuit): time 0.005818/0.08979, allocations: 6.583 MB / 0.499 GB, free: 7.203 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003404/0.09319, allocations: 1.636 MB / 0.5006 GB, free: 5.562 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008713/0.09406, allocations: 35.88 kB / 0.5007 GB, free: 5.527 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005866/0.09465, allocations: 253.5 kB / 0.5009 GB, free: 5.277 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008873/0.09554, allocations: 388.5 kB / 0.5013 GB, free: 4.895 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007472/0.09628, allocations: 391.5 kB / 0.5016 GB, free: 4.512 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.09785, allocations: 1.644 MB / 0.5032 GB, free: 2.855 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007001/0.09855, allocations: 0.5489 MB / 0.5038 GB, free: 2.273 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000587/0.09914, allocations: 0.6346 MB / 0.5044 GB, free: 1.637 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005344/0.09967, allocations: 0.5984 MB / 0.505 GB, free: 1.035 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.09981, allocations: 164 kB / 0.5051 GB, free: 0.875 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.09996, allocations: 172 kB / 0.5053 GB, free: 0.707 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.1002, allocations: 358.8 kB / 0.5056 GB, free: 364 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004089/0.1006, allocations: 0.6378 MB / 0.5063 GB, free: 15.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.1017, allocations: 1.79 MB / 0.508 GB, free: 13.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.1017, allocations: 4 kB / 0.508 GB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.1017, allocations: 0 / 0.508 GB, free: 13.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.1017, allocations: 0 / 0.508 GB, free: 13.91 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.001733/0.1035, allocations: 1.652 MB / 0.5096 GB, free: 12.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.1035, allocations: 12.03 kB / 0.5096 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001705/0.1037, allocations: 211.3 kB / 0.5098 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.1038, allocations: 167.9 kB / 0.51 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/0.1045, allocations: 0.5851 MB / 0.5106 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.462e-05/0.1046, allocations: 107 kB / 0.5107 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.1047, allocations: 140 kB / 0.5108 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.1064, allocations: 1.884 MB / 0.5127 GB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.1064, allocations: 0 / 0.5127 GB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.636e-05/0.1065, allocations: 64 kB / 0.5127 GB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.1065, allocations: 36 kB / 0.5127 GB, free: 8.805 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.1076, allocations: 0.9399 MB / 0.5137 GB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004436/0.1121, allocations: 4.465 MB / 0.518 GB, free: 3.152 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/0.1127, allocations: 0.5218 MB / 0.5185 GB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.113, allocations: 214.2 kB / 0.5187 GB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.1131, allocations: 8.5 kB / 0.5187 GB, free: 2.395 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.1131, allocations: 51.06 kB / 0.5188 GB, free: 2.332 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 2.235e-06/0.1131, allocations: 0 / 0.5188 GB, free: 2.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=62): time 0.0007374/0.1138, allocations: 0.6334 MB / 0.5194 GB, free: 1.699 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.1139, allocations: 226 kB / 0.5196 GB, free: 1.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006745/0.1146, allocations: 0.8132 MB / 0.5204 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.1146, allocations: 41.7 kB / 0.5205 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.1149, allocations: 0.7021 MB / 0.5212 GB, free: 15.85 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.115, allocations: 222.2 kB / 0.5214 GB, free: 15.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.1152, allocations: 202.8 kB / 0.5216 GB, free: 15.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1154, allocations: 398.7 kB / 0.5219 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.1156, allocations: 234.5 kB / 0.5222 GB, free: 14.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.1161, allocations: 0.7951 MB / 0.5229 GB, free: 13.78 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000706/0.1168, allocations: 0.8661 MB / 0.5238 GB, free: 12.74 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1168, allocations: 4 kB / 0.5238 GB, free: 12.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0009596/0.1178, allocations: 0.9611 MB / 0.5247 GB, free: 11.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1178, allocations: 12.94 kB / 0.5247 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.1178, allocations: 12 kB / 0.5247 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.1179, allocations: 23.94 kB / 0.5248 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.1183, allocations: 251.6 kB / 0.525 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.1183, allocations: 31.86 kB / 0.525 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/0.1188, allocations: 163 kB / 0.5252 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.1188, allocations: 55.97 kB / 0.5252 GB, free: 11.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 12 (multiplier_x1x2.limiter2.satNeg,multiplier_x1x2.limiter2.satPos,multiplier_x1x2.limiter1.satNeg,multiplier_x1x2.limiter1.satPos,multiplier_x1z.limiter2.satNeg,multiplier_x1z.limiter2.satPos,multiplier_x1z.limiter1.satNeg,multiplier_x1z.limiter1.satPos,multiplier_x2z.limiter2.satNeg,multiplier_x2z.limiter2.satPos,multiplier_x2z.limiter1.satNeg,multiplier_x2z.limiter1.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 136 * 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.0003044/0.1191, allocations: 283.2 kB / 0.5255 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/0.1192, allocations: 99.39 kB / 0.5256 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.758e-05/0.1193, allocations: 100.3 kB / 0.5257 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1193, allocations: 8 kB / 0.5257 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1193, allocations: 0 / 0.5257 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1193, allocations: 3.984 kB / 0.5257 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.1206, allocations: 1.32 MB / 0.527 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1206, allocations: 0 / 0.527 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.1209, allocations: 139.9 kB / 0.5271 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.1209, allocations: 0 / 0.5271 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.121, allocations: 15.98 kB / 0.5272 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.121, allocations: 4 kB / 0.5272 GB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.121, allocations: 0 / 0.5272 GB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007855/0.1218, allocations: 0.8471 MB / 0.528 GB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.1219, allocations: 139.2 kB / 0.5281 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.122, allocations: 12 kB / 0.5281 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.1223, allocations: 103.9 kB / 0.5282 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/0.1224, allocations: 52.34 kB / 0.5283 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.1224, allocations: 20 kB / 0.5283 GB, free: 8.008 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004945/0.1229, allocations: 0.5264 MB / 0.5288 GB, free: 7.488 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1229, allocations: 0 / 0.5288 GB, free: 7.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006546/0.1236, allocations: 323.1 kB / 0.5291 GB, free: 7.172 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (c_x1.v,c_x2.v,c_z.v) * Number of discrete variables: 12 (multiplier_x2z.limiter1.satPos,multiplier_x2z.limiter1.satNeg,multiplier_x2z.limiter2.satPos,multiplier_x2z.limiter2.satNeg,multiplier_x1z.limiter1.satPos,multiplier_x1z.limiter1.satNeg,multiplier_x1z.limiter2.satPos,multiplier_x1z.limiter2.satNeg,multiplier_x1x2.limiter1.satPos,multiplier_x1x2.limiter1.satNeg,multiplier_x1x2.limiter2.satPos,multiplier_x1x2.limiter2.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 62 * 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.001227/0.1248, allocations: 1.406 MB / 0.5305 GB, free: 5.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007614/0.1256, allocations: 0.5759 MB / 0.5311 GB, free: 5.156 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1256, allocations: 4 kB / 0.5311 GB, free: 5.152 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.1258, allocations: 235 kB / 0.5313 GB, free: 4.926 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.1263, allocations: 156.5 kB / 0.5314 GB, free: 4.773 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007338/0.1337, allocations: 7.621 MB / 0.5389 GB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.134, allocations: 486.9 kB / 0.5393 GB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003717/0.1344, allocations: 139.6 kB / 0.5395 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.1348, allocations: 447.3 kB / 0.5399 GB, free: 11.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.1348, allocations: 0 / 0.5399 GB, free: 11.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2856/0.4203, allocations: 20.64 MB / 0.5601 GB, free: 56.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.309/7.729, allocations: 1.812 kB / 0.5601 GB, free: 56.5 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_RikitakeSystem_IdealCircuit_fmu --startTime=0 --stopTime=15 --stepSize=0.0005 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_RikitakeSystem_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit_fmpy_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0005 ../ChaoticCircuits_ChaoticCircuits_RikitakeSystem_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.RikitakeSystem.IdealCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.797421120107174]