Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.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.001137/0.001137, allocations: 105.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.001322/0.001322, allocations: 212.7 kB / 22.25 MB, free: 3.719 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 1.006/1.006, allocations: 230.6 MB / 256 MB, free: 9.617 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.04146/0.04146, allocations: 9.544 MB / 322 MB, free: 8.504 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.Test.MemristorTestSine,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_MemristorTestSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.MemristorTestSine,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_MemristorTestSine",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.0009576/0.0009576, allocations: 77.77 kB / 448.6 MB, free: 37.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08716/0.08811, allocations: 55.78 MB / 0.4926 GB, free: 13.88 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSine): time 0.002877/0.09099, allocations: 1.885 MB / 0.4944 GB, free: 11.97 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007999/0.09179, allocations: 0.4948 MB / 0.4949 GB, free: 11.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.459e-05/0.09187, allocations: 4 kB / 0.4949 GB, free: 11.47 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.969e-05/0.09191, allocations: 15.86 kB / 0.4949 GB, free: 11.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.09202, allocations: 35.62 kB / 0.4949 GB, free: 11.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.09226, allocations: 39.91 kB / 0.495 GB, free: 11.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.09242, allocations: 119.5 kB / 0.4951 GB, free: 11.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.09256, allocations: 29.5 kB / 0.4951 GB, free: 11.24 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.09272, allocations: 55.84 kB / 0.4952 GB, free: 11.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.756e-05/0.0928, allocations: 51.7 kB / 0.4952 GB, free: 11.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.09283, allocations: 12 kB / 0.4952 GB, free: 11.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.89e-05/0.09287, allocations: 12 kB / 0.4953 GB, free: 11.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.0929, allocations: 27.91 kB / 0.4953 GB, free: 11.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.09295, allocations: 43.8 kB / 0.4953 GB, free: 11.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.09314, allocations: 115.5 kB / 0.4954 GB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.09314, allocations: 0 / 0.4954 GB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09314, allocations: 0 / 0.4954 GB, free: 10.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.09315, allocations: 3.938 kB / 0.4954 GB, free: 10.92 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005344/0.09368, allocations: 341.8 kB / 0.4958 GB, free: 10.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.09373, allocations: 16.03 kB / 0.4958 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.09377, allocations: 38.75 kB / 0.4958 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.0939, allocations: 24.81 kB / 0.4958 GB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.09415, allocations: 150.2 kB / 0.496 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.09416, allocations: 4.375 kB / 0.496 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.09419, allocations: 11.94 kB / 0.496 GB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.09438, allocations: 89.66 kB / 0.4961 GB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.09439, allocations: 0 / 0.4961 GB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.0944, allocations: 8 kB / 0.4961 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.09441, allocations: 0 / 0.4961 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.09455, allocations: 75.89 kB / 0.4962 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.0951, allocations: 386.7 kB / 0.4965 GB, free: 9.684 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.09523, allocations: 66.48 kB / 0.4966 GB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.09529, allocations: 24.97 kB / 0.4966 GB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.09531, allocations: 7.938 kB / 0.4966 GB, free: 9.574 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.09533, allocations: 34.56 kB / 0.4967 GB, free: 9.531 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.09534, allocations: 4 kB / 0.4967 GB, free: 9.527 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.000266/0.0956, allocations: 101.7 kB / 0.4968 GB, free: 9.422 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.09563, allocations: 55.41 kB / 0.4968 GB, free: 9.355 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.09574, allocations: 144.5 kB / 0.4969 GB, free: 9.203 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.09575, allocations: 25.7 kB / 0.497 GB, free: 9.172 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.09582, allocations: 116.2 kB / 0.4971 GB, free: 9.051 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.09584, allocations: 15.86 kB / 0.4971 GB, free: 9.035 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.09588, allocations: 25.7 kB / 0.4971 GB, free: 9.004 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.09598, allocations: 318.8 kB / 0.4974 GB, free: 8.684 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.719e-05/0.09604, allocations: 24 kB / 0.4975 GB, free: 8.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-05/0.0961, allocations: 50.55 kB / 0.4975 GB, free: 8.602 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.09621, allocations: 70.5 kB / 0.4976 GB, free: 8.523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.09622, allocations: 0 / 0.4976 GB, free: 8.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001646/0.09638, allocations: 105.7 kB / 0.4977 GB, free: 8.414 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.0964, allocations: 4 kB / 0.4977 GB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.0964, allocations: 4 kB / 0.4977 GB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.09642, allocations: 12 kB / 0.4977 GB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.09653, allocations: 23.98 kB / 0.4977 GB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.09654, allocations: 0 / 0.4977 GB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.702e-05/0.09658, allocations: 15.88 kB / 0.4977 GB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.09659, allocations: 4 kB / 0.4977 GB, free: 8.352 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 7.476e-05/0.09667, allocations: 117.8 kB / 0.4978 GB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.0967, allocations: 16.08 kB / 0.4979 GB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.09672, allocations: 8.719 kB / 0.4979 GB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.09673, allocations: 7.938 kB / 0.4979 GB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.09673, allocations: 0 / 0.4979 GB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.09674, allocations: 7.984 kB / 0.4979 GB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.09692, allocations: 156.7 kB / 0.498 GB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.09692, allocations: 3.938 kB / 0.498 GB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.794e-05/0.097, allocations: 15.98 kB / 0.498 GB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.097, allocations: 0 / 0.498 GB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.09702, allocations: 11.98 kB / 0.4981 GB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.09702, allocations: 0 / 0.4981 GB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.09702, allocations: 0 / 0.4981 GB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.09727, allocations: 211.4 kB / 0.4983 GB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.0973, allocations: 19.97 kB / 0.4983 GB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.09732, allocations: 4 kB / 0.4983 GB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.253e-05/0.09738, allocations: 4 kB / 0.4983 GB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.09742, allocations: 3.984 kB / 0.4983 GB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.09742, allocations: 4 kB / 0.4983 GB, free: 7.703 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.071e-05/0.09748, allocations: 109.7 kB / 0.4984 GB, free: 7.598 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09748, allocations: 0 / 0.4984 GB, free: 7.598 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.09773, allocations: 27.89 kB / 0.4984 GB, free: 7.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0004423/0.09818, allocations: 0.7398 MB / 0.4991 GB, free: 6.805 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.09833, allocations: 60.09 kB / 0.4992 GB, free: 6.746 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.09834, allocations: 0 / 0.4992 GB, free: 6.746 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.444e-05/0.09839, allocations: 35.92 kB / 0.4992 GB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.09867, allocations: 10.19 kB / 0.4992 GB, free: 6.703 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.1002, allocations: 1.607 MB / 0.5008 GB, free: 5.004 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.46e-05/0.1002, allocations: 84.19 kB / 0.5009 GB, free: 4.902 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.064e-05/0.1003, allocations: 11.94 kB / 0.5009 GB, free: 4.891 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/0.1004, allocations: 31.42 kB / 0.5009 GB, free: 4.859 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1004, allocations: 0 / 0.5009 GB, free: 4.859 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08471/0.1851, allocations: 2.728 MB / 0.5036 GB, free: 2.242 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.766/6.951, allocations: 4 kB / 0.5036 GB, free: 2.238 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_MemristorTestSine_fmu --startTime=0 --stopTime=3 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_MemristorTestSine.fmu) > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine_fmpy_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../ChaoticCircuits_ChaoticCircuits_Test_MemristorTestSine.fmu) > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.378502105362713]