Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.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.0008147/0.0008147, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.0008677/0.0008677, allocations: 220.7 kB / 22.25 MB, free: 3.723 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.019/1.019, allocations: 230.6 MB / 256 MB, free: 9.59 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.03103/0.03103, allocations: 9.55 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.Test.MemristorTestSpike,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_MemristorTestSpike",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.MemristorTestSpike,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_MemristorTestSpike",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.001135/0.001135, allocations: 67.89 kB / 448.6 MB, free: 37.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08581/0.08694, allocations: 55.78 MB / 0.4926 GB, free: 13.85 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSpike): time 0.002578/0.08952, allocations: 1.97 MB / 0.4945 GB, free: 11.87 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006643/0.09019, allocations: 0.5065 MB / 0.495 GB, free: 11.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.09024, allocations: 0 / 0.495 GB, free: 11.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.777e-05/0.09029, allocations: 15.84 kB / 0.495 GB, free: 11.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.0904, allocations: 55.58 kB / 0.495 GB, free: 11.29 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.0906, allocations: 39.94 kB / 0.4951 GB, free: 11.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.09077, allocations: 187.3 kB / 0.4953 GB, free: 11.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.09089, allocations: 29.89 kB / 0.4953 GB, free: 11.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.09101, allocations: 75.7 kB / 0.4954 GB, free: 10.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.0911, allocations: 63.69 kB / 0.4954 GB, free: 10.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.09112, allocations: 20 kB / 0.4954 GB, free: 10.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.861e-05/0.09114, allocations: 16 kB / 0.4955 GB, free: 10.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.345e-05/0.09117, allocations: 35.91 kB / 0.4955 GB, free: 10.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.834e-05/0.09123, allocations: 63.66 kB / 0.4956 GB, free: 10.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.09139, allocations: 179.3 kB / 0.4957 GB, free: 10.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.0914, allocations: 0 / 0.4957 GB, free: 10.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.0914, allocations: 0 / 0.4957 GB, free: 10.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.0914, allocations: 0 / 0.4957 GB, free: 10.59 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005989/0.092, allocations: 427.5 kB / 0.4961 GB, free: 10.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.09204, allocations: 16.03 kB / 0.4961 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.09208, allocations: 38.73 kB / 0.4962 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.09211, allocations: 16.84 kB / 0.4962 GB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.09223, allocations: 138.3 kB / 0.4963 GB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.09225, allocations: 12.12 kB / 0.4963 GB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.09227, allocations: 15.94 kB / 0.4964 GB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.09251, allocations: 133.6 kB / 0.4965 GB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.09252, allocations: 0 / 0.4965 GB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.09253, allocations: 4 kB / 0.4965 GB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.09253, allocations: 8 kB / 0.4965 GB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.09277, allocations: 131 kB / 0.4966 GB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008161/0.09358, allocations: 450.5 kB / 0.4971 GB, free: 9.109 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.09384, allocations: 134.5 kB / 0.4972 GB, free: 8.969 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.09396, allocations: 64.8 kB / 0.4972 GB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.09397, allocations: 3.938 kB / 0.4972 GB, free: 8.898 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.0942, allocations: 123.4 kB / 0.4974 GB, free: 8.766 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.09421, allocations: 4 kB / 0.4974 GB, free: 8.762 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000431/0.09464, allocations: 221.6 kB / 0.4976 GB, free: 8.539 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.09467, allocations: 51.41 kB / 0.4976 GB, free: 8.477 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.09479, allocations: 170.1 kB / 0.4978 GB, free: 8.301 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.09481, allocations: 33.7 kB / 0.4978 GB, free: 8.262 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.09487, allocations: 116 kB / 0.4979 GB, free: 8.145 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.0949, allocations: 31.72 kB / 0.498 GB, free: 8.113 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.09494, allocations: 33.66 kB / 0.498 GB, free: 8.074 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.262e-05/0.09503, allocations: 322.8 kB / 0.4983 GB, free: 7.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.09517, allocations: 89.66 kB / 0.4984 GB, free: 7.656 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.0953, allocations: 116.2 kB / 0.4985 GB, free: 7.527 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.09554, allocations: 172.1 kB / 0.4987 GB, free: 7.344 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.09554, allocations: 0 / 0.4987 GB, free: 7.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003222/0.09586, allocations: 248.9 kB / 0.4989 GB, free: 7.082 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.0959, allocations: 39.83 kB / 0.4989 GB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.0959, allocations: 4 kB / 0.4989 GB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.09591, allocations: 0 / 0.4989 GB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.09603, allocations: 31.97 kB / 0.499 GB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.09604, allocations: 3.984 kB / 0.499 GB, free: 7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.916e-05/0.09612, allocations: 19.94 kB / 0.499 GB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.09613, allocations: 12.06 kB / 0.499 GB, free: 6.969 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: 5 (trapezoidCurrent.signalSource.count,$PRE.trapezoidCurrent.signalSource.count,trapezoidCurrent.signalSource.T_start,$PRE.trapezoidCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.746e-05/0.09621, allocations: 129.8 kB / 0.4991 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.09623, allocations: 11.89 kB / 0.4991 GB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.09626, allocations: 17.41 kB / 0.4992 GB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.09626, allocations: 0 / 0.4992 GB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.09627, allocations: 0 / 0.4992 GB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.09627, allocations: 0 / 0.4992 GB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.0964, allocations: 188.6 kB / 0.4993 GB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.0964, allocations: 0 / 0.4993 GB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.259e-05/0.09649, allocations: 23.97 kB / 0.4994 GB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.0965, allocations: 11.88 kB / 0.4994 GB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.09651, allocations: 7.984 kB / 0.4994 GB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.09651, allocations: 0 / 0.4994 GB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.09651, allocations: 0 / 0.4994 GB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.09695, allocations: 256.9 kB / 0.4996 GB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.097, allocations: 23.98 kB / 0.4996 GB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.09702, allocations: 11.94 kB / 0.4997 GB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.746e-05/0.09709, allocations: 16.06 kB / 0.4997 GB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.09714, allocations: 15.92 kB / 0.4997 GB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.09715, allocations: 7.984 kB / 0.4997 GB, free: 6.188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.581e-05/0.09721, allocations: 124.9 kB / 0.4998 GB, free: 6.066 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09721, allocations: 0 / 0.4998 GB, free: 6.066 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001521/0.09737, allocations: 32 kB / 0.4998 GB, free: 6.035 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: 3 ($whenCondition1,trapezoidCurrent.signalSource.T_start,trapezoidCurrent.signalSource.count) * Number of discrete states: 1 (trapezoidCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005999/0.09797, allocations: 0.8001 MB / 0.5006 GB, free: 5.207 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003407/0.09831, allocations: 229.2 kB / 0.5008 GB, free: 4.965 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.09831, allocations: 0 / 0.5008 GB, free: 4.965 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.09843, allocations: 71.92 kB / 0.5009 GB, free: 4.895 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.09862, allocations: 27.97 kB / 0.5009 GB, free: 4.867 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.1005, allocations: 2.063 MB / 0.503 GB, free: 2.668 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.457e-05/0.1006, allocations: 106.2 kB / 0.5031 GB, free: 2.543 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.853e-05/0.1007, allocations: 16.91 kB / 0.5031 GB, free: 2.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.471e-05/0.1007, allocations: 43.42 kB / 0.5031 GB, free: 2.488 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1007, allocations: 0 / 0.5031 GB, free: 2.488 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07572/0.1765, allocations: 4.299 MB / 0.5073 GB, free: 14.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/7.033, allocations: 4 kB / 0.5073 GB, free: 14.32 MB / 378.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_MemristorTestSpike_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_MemristorTestSpike.fmu) > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_fmpy_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../ChaoticCircuits_ChaoticCircuits_Test_MemristorTestSpike.fmu) > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSpike_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.377115498296916]