Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.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.0008707/0.0008707, 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.001063/0.001063, 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.9767/0.9767, allocations: 230.6 MB / 256 MB, free: 9.605 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.558 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.RLD_Circuit.PhysicalModel,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_RLD_Circuit_PhysicalModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.RLD_Circuit.PhysicalModel,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_RLD_Circuit_PhysicalModel",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.0009257/0.0009257, allocations: 67.89 kB / 448.6 MB, free: 37.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07825/0.07917, allocations: 55.79 MB / 0.4926 GB, free: 13.84 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RLD_Circuit.PhysicalModel): time 0.002872/0.08204, allocations: 2.476 MB / 0.495 GB, free: 11.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.08311, allocations: 0.7127 MB / 0.4957 GB, free: 10.63 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.08323, allocations: 7.938 kB / 0.4957 GB, free: 10.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.08352, allocations: 55.5 kB / 0.4957 GB, free: 10.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.08372, allocations: 91.25 kB / 0.4958 GB, free: 10.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.08392, allocations: 79.84 kB / 0.4959 GB, free: 10.4 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.0842, allocations: 298.7 kB / 0.4962 GB, free: 10.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003788/0.08458, allocations: 61.28 kB / 0.4963 GB, free: 10.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.08478, allocations: 135.4 kB / 0.4964 GB, free: 9.914 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.0849, allocations: 119.4 kB / 0.4965 GB, free: 9.797 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.08493, allocations: 27.94 kB / 0.4965 GB, free: 9.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.77e-05/0.08499, allocations: 32 kB / 0.4966 GB, free: 9.738 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.08502, allocations: 59.77 kB / 0.4966 GB, free: 9.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.739e-05/0.0851, allocations: 115.4 kB / 0.4967 GB, free: 9.566 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.08535, allocations: 294.7 kB / 0.497 GB, free: 9.277 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.08535, allocations: 0 / 0.497 GB, free: 9.277 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.08536, allocations: 0 / 0.497 GB, free: 9.277 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.08536, allocations: 0 / 0.497 GB, free: 9.277 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007141/0.08608, allocations: 0.4974 MB / 0.4975 GB, free: 8.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.08612, allocations: 8.031 kB / 0.4975 GB, free: 8.742 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.08617, allocations: 54.73 kB / 0.4975 GB, free: 8.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.0863, allocations: 40.73 kB / 0.4976 GB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.08661, allocations: 221.9 kB / 0.4978 GB, free: 8.398 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.08663, allocations: 16.56 kB / 0.4978 GB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.08667, allocations: 23.98 kB / 0.4978 GB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.08696, allocations: 221 kB / 0.498 GB, free: 8.129 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.08697, allocations: 3.953 kB / 0.4981 GB, free: 8.125 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.08698, allocations: 12 kB / 0.4981 GB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.08699, allocations: 4 kB / 0.4981 GB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.08722, allocations: 165.6 kB / 0.4982 GB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000863/0.08808, allocations: 0.6714 MB / 0.4989 GB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.08836, allocations: 174.6 kB / 0.499 GB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.08851, allocations: 100.8 kB / 0.4991 GB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.08852, allocations: 8 kB / 0.4992 GB, free: 6.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.08855, allocations: 34.5 kB / 0.4992 GB, free: 6.887 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/0.08855, allocations: 0 / 0.4992 GB, free: 6.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.002175/0.09072, allocations: 1.007 MB / 0.5002 GB, free: 5.844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.09075, allocations: 51.41 kB / 0.5002 GB, free: 5.781 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.09092, allocations: 240.9 kB / 0.5004 GB, free: 5.535 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.09094, allocations: 25.7 kB / 0.5005 GB, free: 5.504 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.09102, allocations: 160.4 kB / 0.5006 GB, free: 5.344 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.09106, allocations: 67.44 kB / 0.5007 GB, free: 5.277 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.09111, allocations: 41.66 kB / 0.5007 GB, free: 5.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.0912, allocations: 334.8 kB / 0.501 GB, free: 4.895 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.09133, allocations: 83.95 kB / 0.5011 GB, free: 4.812 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.09146, allocations: 109.7 kB / 0.5012 GB, free: 4.699 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.09173, allocations: 204.3 kB / 0.5014 GB, free: 4.496 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.09173, allocations: 0 / 0.5014 GB, free: 4.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008547/0.09258, allocations: 425.1 kB / 0.5018 GB, free: 4.074 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.0926, allocations: 9.188 kB / 0.5018 GB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.09261, allocations: 7.938 kB / 0.5018 GB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006805/0.09329, allocations: 212.6 kB / 0.502 GB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.0934, allocations: 43.91 kB / 0.5021 GB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.09578, allocations: 2.138 MB / 0.5042 GB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.536e-05/0.09587, allocations: 16.02 kB / 0.5042 GB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.09589, allocations: 8 kB / 0.5042 GB, free: 1.516 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.096, allocations: 129.8 kB / 0.5043 GB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.09603, allocations: 19.91 kB / 0.5043 GB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008328/0.09686, allocations: 424.2 kB / 0.5048 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.09686, allocations: 0 / 0.5048 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.09687, allocations: 4 kB / 0.5048 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.09687, allocations: 3.984 kB / 0.5048 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.09798, allocations: 0.7606 MB / 0.5055 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.09798, allocations: 4.031 kB / 0.5055 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.679e-05/0.09808, allocations: 27.98 kB / 0.5055 GB, free: 80 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006027/0.09868, allocations: 188.6 kB / 0.5057 GB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.0987, allocations: 11.98 kB / 0.5057 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.1005, allocations: 1.996 MB / 0.5077 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1005, allocations: 0 / 0.5077 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009934/0.1015, allocations: 0.6123 MB / 0.5083 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.1015, allocations: 27.83 kB / 0.5083 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.1016, allocations: 3.984 kB / 0.5083 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.1017, allocations: 23.92 kB / 0.5083 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.1017, allocations: 19.97 kB / 0.5083 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.1017, allocations: 8.062 kB / 0.5083 GB, free: 13.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.1019, allocations: 172.5 kB / 0.5085 GB, free: 12.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1019, allocations: 0 / 0.5085 GB, free: 12.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003296/0.1022, allocations: 68 kB / 0.5086 GB, free: 12.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inductor.i,capacitor.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001273/0.1035, allocations: 1.139 MB / 0.5097 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005026/0.104, allocations: 330.5 kB / 0.51 GB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.104, allocations: 0 / 0.51 GB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004752/0.1044, allocations: 242.7 kB / 0.5102 GB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.1047, allocations: 36.59 kB / 0.5103 GB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.1084, allocations: 3.124 MB / 0.5133 GB, free: 7.816 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.1085, allocations: 142.4 kB / 0.5135 GB, free: 7.656 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.061e-05/0.1085, allocations: 25.94 kB / 0.5135 GB, free: 7.633 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.448e-05/0.1086, allocations: 75.41 kB / 0.5136 GB, free: 7.559 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1086, allocations: 0 / 0.5136 GB, free: 7.559 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0829/0.1915, allocations: 8.67 MB / 0.522 GB, free: 15.05 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/7.725, allocations: 14.97 kB / 0.522 GB, free: 15.04 MB / 394.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_RLD_Circuit_PhysicalModel_fmu --startTime=0 --stopTime=0.002 --stepSize=1e-08 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_RLD_Circuit_PhysicalModel.fmu) > ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel_fmpy_res.csv --start-time 0 --stop-time 0.002 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-08 ../ChaoticCircuits_ChaoticCircuits_RLD_Circuit_PhysicalModel.fmu) > ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.821543129161]