Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.VanDerPol.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.0007611/0.0007611, allocations: 109.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.0008133/0.0008133, allocations: 218.8 kB / 22.25 MB, free: 3.582 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.945/0.945, allocations: 230.6 MB / 256 MB, free: 9.625 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.0276/0.0276, allocations: 9.557 MB / 322 MB, free: 8.488 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.VanDerPol.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_VanDerPol_IdealCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.VanDerPol.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_VanDerPol_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.001125/0.001125, allocations: 75.88 kB / 448.6 MB, free: 37.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1094, allocations: 55.77 MB / 0.4926 GB, free: 13.85 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.VanDerPol.IdealCircuit): time 0.004369/0.1137, allocations: 4.961 MB / 0.4974 GB, free: 8.859 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1155, allocations: 1.274 MB / 0.4987 GB, free: 7.582 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002883/0.1158, allocations: 19.94 kB / 0.4987 GB, free: 7.562 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.1161, allocations: 166.3 kB / 0.4989 GB, free: 7.398 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.1165, allocations: 269.6 kB / 0.4991 GB, free: 7.133 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.1169, allocations: 271.6 kB / 0.4994 GB, free: 6.867 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006861/0.1176, allocations: 1.099 MB / 0.5004 GB, free: 5.766 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000411/0.118, allocations: 359.1 kB / 0.5008 GB, free: 5.391 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003615/0.1184, allocations: 442.4 kB / 0.5012 GB, free: 4.957 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003594/0.1188, allocations: 429.7 kB / 0.5016 GB, free: 4.535 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.484e-05/0.1189, allocations: 112 kB / 0.5017 GB, free: 4.426 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.119, allocations: 112 kB / 0.5018 GB, free: 4.316 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.1191, allocations: 239.2 kB / 0.5021 GB, free: 4.082 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.1194, allocations: 438 kB / 0.5025 GB, free: 3.648 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007475/0.1201, allocations: 1.194 MB / 0.5036 GB, free: 2.449 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1201, allocations: 0 / 0.5036 GB, free: 2.449 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1201, allocations: 0 / 0.5036 GB, free: 2.449 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.1201, allocations: 0 / 0.5036 GB, free: 2.449 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.001317/0.1214, allocations: 1.194 MB / 0.5048 GB, free: 1.223 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1215, allocations: 12.03 kB / 0.5048 GB, free: 1.211 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.1216, allocations: 144 kB / 0.505 GB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.1218, allocations: 132.2 kB / 0.5051 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.1223, allocations: 451.8 kB / 0.5055 GB, free: 476 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.1223, allocations: 70.38 kB / 0.5056 GB, free: 404 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.1224, allocations: 91.94 kB / 0.5057 GB, free: 312 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.1234, allocations: 1.215 MB / 0.5069 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1235, allocations: 4 kB / 0.5069 GB, free: 14.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/0.1235, allocations: 36 kB / 0.5069 GB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.1235, allocations: 31.94 kB / 0.5069 GB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007252/0.1242, allocations: 0.6207 MB / 0.5075 GB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.1272, allocations: 2.932 MB / 0.5104 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.1276, allocations: 375.8 kB / 0.5108 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.1279, allocations: 216.7 kB / 0.511 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.1279, allocations: 11.98 kB / 0.511 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.128, allocations: 38.56 kB / 0.511 GB, free: 10.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 1.823e-06/0.128, allocations: 0 / 0.511 GB, free: 10.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008366/0.1288, allocations: 0.5407 MB / 0.5115 GB, free: 9.977 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.1289, allocations: 158.2 kB / 0.5117 GB, free: 9.785 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004713/0.1293, allocations: 0.5926 MB / 0.5123 GB, free: 9.184 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.1294, allocations: 37.7 kB / 0.5123 GB, free: 9.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.1296, allocations: 491.5 kB / 0.5128 GB, free: 8.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.923e-05/0.1297, allocations: 154.8 kB / 0.5129 GB, free: 8.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.1298, allocations: 134.6 kB / 0.513 GB, free: 8.363 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1299, allocations: 366.8 kB / 0.5134 GB, free: 7.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.1301, allocations: 165.9 kB / 0.5136 GB, free: 7.832 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.1304, allocations: 0.5165 MB / 0.5141 GB, free: 7.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007009/0.1311, allocations: 0.5779 MB / 0.5146 GB, free: 6.496 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1311, allocations: 0 / 0.5146 GB, free: 6.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006919/0.1318, allocations: 0.6813 MB / 0.5153 GB, free: 5.809 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1318, allocations: 10.19 kB / 0.5153 GB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.1318, allocations: 11.98 kB / 0.5153 GB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001681/0.132, allocations: 49.31 kB / 0.5154 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.1323, allocations: 167.7 kB / 0.5155 GB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009661/0.1333, allocations: 1.579 MB / 0.5171 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.1336, allocations: 115.5 kB / 0.5172 GB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.1336, allocations: 28 kB / 0.5172 GB, free: 3.742 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 8 (multiplier.limiter2.satNeg,multiplier.limiter2.satPos,multiplier.limiter1.satNeg,multiplier.limiter1.satPos,multiplier_x2.limiter2.satNeg,multiplier_x2.limiter2.satPos,multiplier_x2.limiter1.satNeg,multiplier_x2.limiter1.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.1338, allocations: 234.3 kB / 0.5174 GB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/0.1339, allocations: 67.58 kB / 0.5175 GB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.1339, allocations: 74.09 kB / 0.5176 GB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1339, allocations: 4 kB / 0.5176 GB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1339, allocations: 128 / 0.5176 GB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1339, allocations: 3.984 kB / 0.5176 GB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009526/0.1349, allocations: 1.034 MB / 0.5186 GB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1349, allocations: 0 / 0.5186 GB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.1351, allocations: 87.88 kB / 0.5187 GB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.874e-05/0.1352, allocations: 36.83 kB / 0.5187 GB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1352, allocations: 16.03 kB / 0.5187 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008204/0.136, allocations: 1.562 MB / 0.5202 GB, free: 456 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.136, allocations: 4.031 kB / 0.5202 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006891/0.1367, allocations: 0.6731 MB / 0.5209 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1368, allocations: 67.64 kB / 0.521 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/0.1369, allocations: 16 kB / 0.521 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.1372, allocations: 64.06 kB / 0.521 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.1373, allocations: 35.94 kB / 0.5211 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.1373, allocations: 23.98 kB / 0.5211 GB, free: 15.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006063/0.1379, allocations: 398.8 kB / 0.5215 GB, free: 15.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1379, allocations: 0 / 0.5215 GB, free: 15.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004683/0.1384, allocations: 227.5 kB / 0.5217 GB, free: 14.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (c_z.v,c_x.v) * Number of discrete variables: 8 (multiplier_x2.limiter1.satPos,multiplier_x2.limiter1.satNeg,multiplier_x2.limiter2.satPos,multiplier_x2.limiter2.satNeg,multiplier.limiter1.satPos,multiplier.limiter1.satNeg,multiplier.limiter2.satPos,multiplier.limiter2.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008332/0.1392, allocations: 1.226 MB / 0.5229 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006287/0.1398, allocations: 0.5337 MB / 0.5234 GB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1398, allocations: 4 kB / 0.5234 GB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.1401, allocations: 295.4 kB / 0.5237 GB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.1405, allocations: 98.27 kB / 0.5238 GB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004953/0.1454, allocations: 5.687 MB / 0.5293 GB, free: 6.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.1456, allocations: 348.8 kB / 0.5297 GB, free: 6.363 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.1458, allocations: 89.11 kB / 0.5298 GB, free: 6.273 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.146, allocations: 291.3 kB / 0.53 GB, free: 5.988 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.146, allocations: 0 / 0.53 GB, free: 5.988 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/0.2467, allocations: 14.94 MB / 0.5446 GB, free: 7.312 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.408/7.654, allocations: 3.375 kB / 0.5446 GB, free: 7.312 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_VanDerPol_IdealCircuit_fmu --startTime=0 --stopTime=0.2 --stepSize=2e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_VanDerPol_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit_fmpy_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2e-06 ../ChaoticCircuits_ChaoticCircuits_VanDerPol_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.230389181524515]