Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.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.0007765/0.0007765, 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.001294/0.001294, allocations: 221.8 kB / 22.25 MB, free: 3.559 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.9431/0.9431, allocations: 230.6 MB / 256 MB, free: 9.586 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.02998/0.02998, allocations: 9.558 MB / 322 MB, free: 8.457 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.AnalyticEquations,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChuasMemristor_AnalyticEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.ChuasMemristor.AnalyticEquations,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChuasMemristor_AnalyticEquations",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.0008732/0.0008732, allocations: 71.89 kB / 448.6 MB, free: 37.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0764/0.07727, allocations: 55.78 MB / 0.4926 GB, free: 13.84 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasMemristor.AnalyticEquations): time 0.001743/0.07902, allocations: 1.283 MB / 0.4938 GB, free: 12.55 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000149/0.07917, allocations: 44.2 kB / 0.4939 GB, free: 12.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.07919, allocations: 0 / 0.4939 GB, free: 12.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.07921, allocations: 0 / 0.4939 GB, free: 12.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.979e-05/0.07927, allocations: 11.86 kB / 0.4939 GB, free: 12.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.941e-05/0.07937, allocations: 11.98 kB / 0.4939 GB, free: 12.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 7.091e-05/0.07944, allocations: 39.8 kB / 0.4939 GB, free: 12.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.963e-05/0.07949, allocations: 7.984 kB / 0.4939 GB, free: 12.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.72e-05/0.07952, allocations: 11.94 kB / 0.4939 GB, free: 12.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.447e-05/0.07959, allocations: 11.92 kB / 0.4939 GB, free: 12.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.07961, allocations: 4 kB / 0.4939 GB, free: 12.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.07962, allocations: 0 / 0.4939 GB, free: 12.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.07963, allocations: 11.97 kB / 0.494 GB, free: 12.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.07966, allocations: 11.94 kB / 0.494 GB, free: 12.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 6.34e-05/0.07972, allocations: 20.14 kB / 0.494 GB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.07973, allocations: 0 / 0.494 GB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.07973, allocations: 0 / 0.494 GB, free: 12.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.07973, allocations: 4 kB / 0.494 GB, free: 12.36 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003447/0.08008, allocations: 282.2 kB / 0.4943 GB, free: 12.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.08012, allocations: 8.031 kB / 0.4943 GB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.918e-05/0.08014, allocations: 34.75 kB / 0.4943 GB, free: 12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.08017, allocations: 16.88 kB / 0.4943 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.726e-05/0.08025, allocations: 110.5 kB / 0.4944 GB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.08026, allocations: 384 / 0.4944 GB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.08028, allocations: 4.375 kB / 0.4944 GB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.349e-05/0.08037, allocations: 46.19 kB / 0.4945 GB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.08038, allocations: 15.89 kB / 0.4945 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.08039, allocations: 0 / 0.4945 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.0804, allocations: 3.938 kB / 0.4945 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.258e-05/0.08044, allocations: 15.98 kB / 0.4945 GB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.08058, allocations: 140.8 kB / 0.4946 GB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.08082, allocations: 70.53 kB / 0.4947 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.08085, allocations: 20.97 kB / 0.4947 GB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.08086, allocations: 0 / 0.4947 GB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.08088, allocations: 38.5 kB / 0.4948 GB, free: 11.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.42e-07/0.08088, allocations: 4 kB / 0.4948 GB, free: 11.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001555/0.08104, allocations: 69.62 kB / 0.4948 GB, free: 11.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.08107, allocations: 59.41 kB / 0.4949 GB, free: 11.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.575e-05/0.08112, allocations: 105.8 kB / 0.495 GB, free: 11.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.08113, allocations: 25.7 kB / 0.495 GB, free: 11.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.877e-05/0.08116, allocations: 80.14 kB / 0.4951 GB, free: 11.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.08119, allocations: 27.78 kB / 0.4951 GB, free: 11.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.08122, allocations: 17.72 kB / 0.4951 GB, free: 11.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.0813, allocations: 322.8 kB / 0.4954 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.32e-05/0.08132, allocations: 15.94 kB / 0.4955 GB, free: 10.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.025e-05/0.08134, allocations: 15.98 kB / 0.4955 GB, free: 10.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.044e-05/0.08139, allocations: 40.86 kB / 0.4955 GB, free: 10.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.08139, allocations: 0 / 0.4955 GB, free: 10.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.811e-05/0.08147, allocations: 81.58 kB / 0.4956 GB, free: 10.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.08149, allocations: 12.22 kB / 0.4956 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.08149, allocations: 0 / 0.4956 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.0815, allocations: 0 / 0.4956 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.08157, allocations: 23.92 kB / 0.4956 GB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.08158, allocations: 320 / 0.4956 GB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.08159, allocations: 7.938 kB / 0.4956 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.0816, allocations: 0 / 0.4956 GB, free: 10.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * 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 5.334e-05/0.08165, allocations: 121.8 kB / 0.4958 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-06/0.08166, allocations: 7.891 kB / 0.4958 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.08168, allocations: 12.06 kB / 0.4958 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.08168, allocations: 0 / 0.4958 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.08169, allocations: 0 / 0.4958 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.08169, allocations: 4.234 kB / 0.4958 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.225e-05/0.08177, allocations: 136.8 kB / 0.4959 GB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.08177, allocations: 4 kB / 0.4959 GB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-05/0.08185, allocations: 16 kB / 0.4959 GB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.08186, allocations: 7.922 kB / 0.4959 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.08186, allocations: 4 kB / 0.4959 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.08186, allocations: 0 / 0.4959 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.08187, allocations: 7.984 kB / 0.4959 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.08199, allocations: 105 kB / 0.496 GB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.082, allocations: 11.98 kB / 0.4961 GB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.08201, allocations: 7.938 kB / 0.4961 GB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.326e-05/0.08202, allocations: 0 / 0.4961 GB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.08204, allocations: 0 / 0.4961 GB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.08204, allocations: 4 kB / 0.4961 GB, free: 9.969 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.899e-05/0.08207, allocations: 87.27 kB / 0.4962 GB, free: 9.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08207, allocations: 0 / 0.4962 GB, free: 9.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001236/0.08219, allocations: 16 kB / 0.4962 GB, free: 9.867 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (v1,v2,iL,phi) * 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 (5): * Single equations (assignments): 5 * 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.0002669/0.08246, allocations: 0.6358 MB / 0.4968 GB, free: 9.203 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.357e-05/0.08255, allocations: 35.98 kB / 0.4968 GB, free: 9.168 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.08255, allocations: 0 / 0.4968 GB, free: 9.168 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.837e-05/0.08257, allocations: 19.94 kB / 0.4968 GB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.08274, allocations: 9.969 kB / 0.4969 GB, free: 9.141 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.08378, allocations: 1.496 MB / 0.4983 GB, free: 7.559 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.905e-05/0.08382, allocations: 75.27 kB / 0.4984 GB, free: 7.465 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.938e-05/0.08384, allocations: 0 / 0.4984 GB, free: 7.465 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.08388, allocations: 15.44 kB / 0.4984 GB, free: 7.449 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.08388, allocations: 0 / 0.4984 GB, free: 7.449 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07808/0.162, allocations: 2.156 MB / 0.5005 GB, free: 5.406 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.698/6.86, allocations: 0 / 0.5005 GB, free: 5.406 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_ChuasMemristor_AnalyticEquations_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_ChuasMemristor_AnalyticEquations.fmu) > ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations_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_AnalyticEquations.fmu) > ChaoticCircuits_ChaoticCircuits.ChuasMemristor.AnalyticEquations_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.847981717437506]