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.0009662/0.0009662, allocations: 81.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009591/0.0009591, allocations: 169 kB / 23.28 MB, free: 1.219 MB / 18.57 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.9649/0.9649, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.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.05881/0.05881, allocations: 7.119 MB / 267.4 MB, free: 5.898 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: translateModel(ChaoticCircuits.Test.MemristorTestSine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine") translateModel(ChaoticCircuits.Test.MemristorTestSine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 339.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.578e-06/1.058e-05, allocations: 2.312 kB / 339.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSine): time 0.002039/0.002049, allocations: 1.954 MB / 341.5 MB, free: 8.707 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006255/0.002675, allocations: 0.5296 MB / 342 MB, free: 8.176 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/0.002724, allocations: 0 / 342 MB, free: 8.176 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.002757, allocations: 15.86 kB / 342 MB, free: 8.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.392e-05/0.00283, allocations: 31.66 kB / 342 MB, free: 8.129 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.002975, allocations: 43.94 kB / 342.1 MB, free: 8.086 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.003079, allocations: 115.5 kB / 342.2 MB, free: 7.973 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.699e-05/0.003146, allocations: 33.22 kB / 342.2 MB, free: 7.941 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.003259, allocations: 75.75 kB / 342.3 MB, free: 7.867 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.352e-05/0.003322, allocations: 39.89 kB / 342.3 MB, free: 7.828 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.003337, allocations: 12 kB / 342.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.175e-05/0.003369, allocations: 16 kB / 342.4 MB, free: 7.801 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.003386, allocations: 23.84 kB / 342.4 MB, free: 7.777 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.003424, allocations: 39.91 kB / 342.4 MB, free: 7.738 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.003539, allocations: 79.67 kB / 342.5 MB, free: 7.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.003541, allocations: 4 kB / 342.5 MB, free: 7.656 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003542, allocations: 0 / 342.5 MB, free: 7.656 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.003545, allocations: 0 / 342.5 MB, free: 7.656 MB / 314.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.0003191/0.003864, allocations: 452.1 kB / 343 MB, free: 7.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.349e-05/0.003887, allocations: 8.031 kB / 343 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.244e-05/0.00397, allocations: 28.89 kB / 343 MB, free: 7.145 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.004074, allocations: 144.4 kB / 343.1 MB, free: 6.977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.004083, allocations: 8.375 kB / 343.1 MB, free: 6.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.004098, allocations: 8.375 kB / 343.1 MB, free: 6.961 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.597e-05/0.004194, allocations: 82.92 kB / 343.2 MB, free: 6.871 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.0042, allocations: 3.938 kB / 343.2 MB, free: 6.867 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.004208, allocations: 3.984 kB / 343.2 MB, free: 6.863 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.004212, allocations: 0 / 343.2 MB, free: 6.863 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.464e-05/0.004257, allocations: 27.97 kB / 343.3 MB, free: 6.836 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.004589, allocations: 391.2 kB / 343.6 MB, free: 6.422 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.57e-05/0.004655, allocations: 58.92 kB / 343.7 MB, free: 6.352 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.004676, allocations: 15.69 kB / 343.7 MB, free: 6.332 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.004687, allocations: 0 / 343.7 MB, free: 6.332 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.004701, allocations: 33.39 kB / 343.8 MB, free: 6.289 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 6.52e-07/0.004702, allocations: 0 / 343.8 MB, free: 6.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001107/0.004813, allocations: 77.86 kB / 343.8 MB, free: 6.207 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.004833, allocations: 51.41 kB / 343.9 MB, free: 6.145 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/0.00491, allocations: 200.7 kB / 344.1 MB, free: 5.934 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.00492, allocations: 29.7 kB / 344.1 MB, free: 5.898 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.004975, allocations: 166.9 kB / 344.3 MB, free: 5.727 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.004991, allocations: 19.8 kB / 344.3 MB, free: 5.707 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.005024, allocations: 31.36 kB / 344.3 MB, free: 5.668 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.005133, allocations: 0.4884 MB / 344.8 MB, free: 5.168 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.00515, allocations: 11.98 kB / 344.8 MB, free: 5.156 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.822e-05/0.005179, allocations: 35.06 kB / 344.9 MB, free: 5.109 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.91e-05/0.005228, allocations: 50.97 kB / 344.9 MB, free: 5.047 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.005229, allocations: 8 kB / 344.9 MB, free: 5.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.672e-05/0.005315, allocations: 73.56 kB / 345 MB, free: 4.961 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.005324, allocations: 4 kB / 345 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.005328, allocations: 4 kB / 345 MB, free: 4.953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/0.005334, allocations: 0 / 345 MB, free: 4.953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.005405, allocations: 19.98 kB / 345 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.005408, allocations: 3.938 kB / 345 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.021e-05/0.005438, allocations: 11.95 kB / 345 MB, free: 4.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.005446, allocations: 7.922 kB / 345 MB, free: 4.91 MB / 314.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 0.0003187/0.005764, allocations: 164.6 kB / 345.2 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.005784, allocations: 7.953 kB / 345.2 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.005805, allocations: 12.78 kB / 345.2 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.005807, allocations: 0 / 345.2 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.005809, allocations: 256 / 345.2 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.005814, allocations: 3.938 kB / 345.2 MB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.005921, allocations: 133.1 kB / 345.3 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.005921, allocations: 0 / 345.3 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.005975, allocations: 11.98 kB / 345.4 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.005977, allocations: 4 kB / 345.4 MB, free: 4.543 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.005984, allocations: 4 kB / 345.4 MB, free: 4.539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.005985, allocations: 7.938 kB / 345.4 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.005985, allocations: 0 / 345.4 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.006126, allocations: 223.8 kB / 345.6 MB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.006145, allocations: 7.953 kB / 345.6 MB, free: 4.285 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.006157, allocations: 4 kB / 345.6 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.99e-05/0.006197, allocations: 4 kB / 345.6 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/0.006221, allocations: 7.984 kB / 345.6 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.006224, allocations: 0 / 345.6 MB, free: 4.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.673e-05/0.006281, allocations: 143.1 kB / 345.8 MB, free: 4.129 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006281, allocations: 0 / 345.8 MB, free: 4.129 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001537/0.006435, allocations: 27.98 kB / 345.8 MB, free: 4.102 MB / 314.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 6.209e-05/0.006497, allocations: 95.19 kB / 345.9 MB, free: 4 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.474e-05/0.006582, allocations: 43.61 kB / 345.9 MB, free: 3.953 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.006583, allocations: 0 / 345.9 MB, free: 3.953 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.79e-05/0.006611, allocations: 19.67 kB / 345.9 MB, free: 3.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.006796, allocations: 18.38 kB / 346 MB, free: 3.914 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005084/0.007304, allocations: 242.3 kB / 346.2 MB, free: 3.648 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.635e-05/0.007351, allocations: 63.34 kB / 346.3 MB, free: 3.566 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.706e-05/0.007388, allocations: 11.98 kB / 346.3 MB, free: 3.555 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.007453, allocations: 74.2 kB / 346.3 MB, free: 3.48 MB / 314.7 MB Notification: Performance of SimCode: time 8.22e-07/0.007454, allocations: 0 / 346.3 MB, free: 3.48 MB / 314.7 MB Notification: Performance of Templates: time 0.00234/0.009794, allocations: 0.886 MB / 347.2 MB, free: 2.598 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.makefile [Timeout 660] (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_cvode && ../ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine.pipe 2>&1) [Timeout 240] (rm -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine_gbode.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine_gbode.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine_gbode.sim & (cd run_gbode && ../ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine_gbode.pipe 2>&1) [Timeout 240] (rm -f ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine_ida.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine_ida.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine_ida.sim & (cd run_ida && ../ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ChaoticCircuits_ChaoticCircuits.Test.MemristorTestSine_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.804484172258526]