Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ChuasMemristor.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.0008169/0.0008169, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009706/0.0009706, allocations: 212.7 kB / 22.25 MB, free: 3.57 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.9658/0.9658, allocations: 230.6 MB / 256 MB, free: 9.602 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.02891/0.02891, allocations: 9.561 MB / 322 MB, free: 8.484 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.ChuasMemristor.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChuasMemristor_IdealCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.ChuasMemristor.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChuasMemristor_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.0009747/0.0009747, allocations: 75.89 kB / 448.6 MB, free: 37.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07422/0.0752, allocations: 55.78 MB / 0.4926 GB, free: 13.87 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.IdealCircuit): time 0.002594/0.07779, allocations: 1.964 MB / 0.4945 GB, free: 11.89 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008156/0.07861, allocations: 0.5104 MB / 0.495 GB, free: 11.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.979e-05/0.0787, allocations: 4 kB / 0.495 GB, free: 11.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.07882, allocations: 35.7 kB / 0.495 GB, free: 11.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.607e-05/0.07892, allocations: 43.56 kB / 0.4951 GB, free: 11.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.07906, allocations: 43.94 kB / 0.4951 GB, free: 11.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.07925, allocations: 199 kB / 0.4953 GB, free: 11.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.0794, allocations: 54.25 kB / 0.4953 GB, free: 11.01 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.967e-05/0.07947, allocations: 71.78 kB / 0.4954 GB, free: 10.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.07958, allocations: 71.62 kB / 0.4955 GB, free: 10.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.07961, allocations: 19.94 kB / 0.4955 GB, free: 10.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.162e-05/0.07963, allocations: 16 kB / 0.4955 GB, free: 10.83 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.07966, allocations: 35.91 kB / 0.4955 GB, free: 10.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.895e-05/0.07972, allocations: 79.64 kB / 0.4956 GB, free: 10.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.07991, allocations: 195.2 kB / 0.4958 GB, free: 10.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.07991, allocations: 0 / 0.4958 GB, free: 10.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.07992, allocations: 0 / 0.4958 GB, free: 10.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.07992, allocations: 4 kB / 0.4958 GB, free: 10.52 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000508/0.08043, allocations: 397.5 kB / 0.4962 GB, free: 10.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.08047, allocations: 8.031 kB / 0.4962 GB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003203/0.08079, allocations: 54.73 kB / 0.4962 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.08083, allocations: 20.8 kB / 0.4963 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.08104, allocations: 158.3 kB / 0.4964 GB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.08106, allocations: 12.12 kB / 0.4964 GB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.08108, allocations: 24 kB / 0.4965 GB, free: 9.801 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.0813, allocations: 179 kB / 0.4966 GB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.08131, allocations: 0 / 0.4966 GB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.08133, allocations: 11.98 kB / 0.4966 GB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.08134, allocations: 4 kB / 0.4966 GB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.08148, allocations: 103.7 kB / 0.4967 GB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007016/0.08218, allocations: 0.583 MB / 0.4973 GB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.08241, allocations: 122.5 kB / 0.4974 GB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.08259, allocations: 84.81 kB / 0.4975 GB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.0826, allocations: 7.984 kB / 0.4975 GB, free: 8.633 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.08262, allocations: 34.56 kB / 0.4975 GB, free: 8.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.664e-06/0.08262, allocations: 0 / 0.4975 GB, free: 8.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002419/0.08287, allocations: 149.8 kB / 0.4977 GB, free: 8.438 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.08289, allocations: 55.41 kB / 0.4977 GB, free: 8.371 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.08299, allocations: 142.2 kB / 0.4979 GB, free: 8.219 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.083, allocations: 29.64 kB / 0.4979 GB, free: 8.184 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.08307, allocations: 136.2 kB / 0.498 GB, free: 8.047 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.0831, allocations: 55.53 kB / 0.4981 GB, free: 7.992 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.08314, allocations: 29.72 kB / 0.4981 GB, free: 7.957 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.08322, allocations: 318.8 kB / 0.4984 GB, free: 7.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.092e-05/0.08327, allocations: 43.94 kB / 0.4985 GB, free: 7.594 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-05/0.08333, allocations: 55.92 kB / 0.4985 GB, free: 7.535 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.08345, allocations: 95.91 kB / 0.4986 GB, free: 7.438 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.08345, allocations: 0 / 0.4986 GB, free: 7.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001587/0.08361, allocations: 148.9 kB / 0.4987 GB, free: 7.289 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.08362, allocations: 4 kB / 0.4988 GB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.08363, allocations: 4 kB / 0.4988 GB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.08364, allocations: 3.938 kB / 0.4988 GB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.08377, allocations: 55.91 kB / 0.4988 GB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.08378, allocations: 4 kB / 0.4988 GB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.428e-05/0.08382, allocations: 3.953 kB / 0.4988 GB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.08382, allocations: 4 kB / 0.4988 GB, free: 7.211 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 (19): * Single equations (assignments): 19 * 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 8.277e-05/0.0839, allocations: 129.9 kB / 0.4989 GB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.08393, allocations: 15.84 kB / 0.499 GB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.08395, allocations: 20.77 kB / 0.499 GB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.08396, allocations: 3.938 kB / 0.499 GB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.08396, allocations: 0 / 0.499 GB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.08397, allocations: 4 kB / 0.499 GB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003752/0.08434, allocations: 414.3 kB / 0.4994 GB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.08434, allocations: 3.938 kB / 0.4994 GB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.08447, allocations: 51.95 kB / 0.4994 GB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.08448, allocations: 0 / 0.4994 GB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.08449, allocations: 7.922 kB / 0.4994 GB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.08449, allocations: 4 kB / 0.4994 GB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.08449, allocations: 0 / 0.4994 GB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.0847, allocations: 256.3 kB / 0.4997 GB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.08472, allocations: 15.92 kB / 0.4997 GB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.08474, allocations: 7.938 kB / 0.4997 GB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.0848, allocations: 4 kB / 0.4997 GB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.08482, allocations: 11.92 kB / 0.4997 GB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.08483, allocations: 8 kB / 0.4997 GB, free: 6.191 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.848e-05/0.08488, allocations: 121.6 kB / 0.4999 GB, free: 6.074 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08488, allocations: 0 / 0.4999 GB, free: 6.074 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000189/0.08507, allocations: 43.89 kB / 0.4999 GB, free: 6.031 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (inductor.i,capacitor1.v,capacitor2.v,memristor.x) * 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 (13): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003904/0.08546, allocations: 0.7859 MB / 0.5007 GB, free: 5.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.08562, allocations: 87.95 kB / 0.5007 GB, free: 5.133 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.08562, allocations: 4 kB / 0.5008 GB, free: 5.129 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.08566, allocations: 35.98 kB / 0.5008 GB, free: 5.094 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.08589, allocations: 20.12 kB / 0.5008 GB, free: 5.074 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.08753, allocations: 2.01 MB / 0.5028 GB, free: 2.969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.348e-05/0.0876, allocations: 111.9 kB / 0.5029 GB, free: 2.836 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.997e-05/0.08765, allocations: 13.08 kB / 0.5029 GB, free: 2.824 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.08771, allocations: 47.42 kB / 0.5029 GB, free: 2.777 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.08771, allocations: 0 / 0.5029 GB, free: 2.777 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08382/0.1715, allocations: 3.571 MB / 0.5064 GB, free: 15.33 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.982/7.154, allocations: 7.969 kB / 0.5064 GB, free: 15.32 MB / 378.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_ChuasMemristor_IdealCircuit_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_ChuasMemristor_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit_fmpy_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-06 ../ChaoticCircuits_ChaoticCircuits_ChuasMemristor_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ChuasMemristor.IdealCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.187435715459287]