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.0008805/0.0008805, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009336/0.0009336, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9504/0.9504, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.03933/0.03933, allocations: 7.123 MB / 266.3 MB, free: 6.246 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 393 MB, free: 3.234 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.33e-05, allocations: 2.281 kB / 393 MB, free: 3.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.MemristorTestSine): time 0.002932/0.002955, allocations: 1.881 MB / 394.9 MB, free: 1.332 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008311/0.003786, allocations: 0.5025 MB / 395.4 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.699e-05/0.003863, allocations: 4 kB / 395.4 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.508e-05/0.003908, allocations: 15.86 kB / 395.4 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.004009, allocations: 39.64 kB / 395.4 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.004254, allocations: 43.83 kB / 395.5 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.004404, allocations: 119.4 kB / 395.6 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.00452, allocations: 25.3 kB / 395.6 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.004692, allocations: 79.8 kB / 395.7 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.084e-05/0.004763, allocations: 31.91 kB / 395.7 MB, free: 488 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.004784, allocations: 11.98 kB / 395.7 MB, free: 476 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.477e-05/0.004829, allocations: 16 kB / 395.8 MB, free: 460 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.004851, allocations: 27.84 kB / 395.8 MB, free: 432 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.004885, allocations: 31.92 kB / 395.8 MB, free: 400 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.005048, allocations: 127.6 kB / 395.9 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.005052, allocations: 3.984 kB / 395.9 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.005053, allocations: 0 / 395.9 MB, free: 268 kB / 314.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.005058, allocations: 0 / 395.9 MB, free: 268 kB / 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.0004787/0.005537, allocations: 337.8 kB / 396.3 MB, free: 15.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.00558, allocations: 11.97 kB / 396.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.005619, allocations: 46.67 kB / 396.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.005734, allocations: 20.88 kB / 396.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.005963, allocations: 141.6 kB / 396.5 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.005977, allocations: 8.375 kB / 396.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.006002, allocations: 8.375 kB / 396.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.006181, allocations: 101 kB / 396.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.006191, allocations: 3.938 kB / 396.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.006207, allocations: 4 kB / 396.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.006213, allocations: 4 kB / 396.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.00633, allocations: 67.95 kB / 396.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.006841, allocations: 394.8 kB / 397.1 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.006956, allocations: 54.56 kB / 397.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.007009, allocations: 36.95 kB / 397.2 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.007024, allocations: 0 / 397.2 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.007041, allocations: 34.5 kB / 397.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.007042, allocations: 0 / 397.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002349/0.007277, allocations: 117.7 kB / 397.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.007304, allocations: 51.41 kB / 397.4 MB, free: 14.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.712e-05/0.007401, allocations: 146 kB / 397.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.007412, allocations: 25.7 kB / 397.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.007467, allocations: 116.2 kB / 397.6 MB, free: 14.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.007486, allocations: 27.78 kB / 397.7 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.007519, allocations: 21.72 kB / 397.7 MB, free: 14.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.236e-05/0.007601, allocations: 318.8 kB / 398 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.755e-05/0.007649, allocations: 23.98 kB / 398 MB, free: 13.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.363e-05/0.007703, allocations: 42.56 kB / 398.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.474e-05/0.007797, allocations: 74.5 kB / 398.1 MB, free: 13.85 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.007799, allocations: 0 / 398.1 MB, free: 13.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000129/0.007928, allocations: 113.5 kB / 398.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.007941, allocations: 4 kB / 398.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.007946, allocations: 3.938 kB / 398.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.007959, allocations: 4 kB / 398.3 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.674e-05/0.008056, allocations: 19.92 kB / 398.3 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.00806, allocations: 4 kB / 398.3 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.083e-05/0.008101, allocations: 15.95 kB / 398.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.008111, allocations: 4 kB / 398.3 MB, free: 13.68 MB / 330.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 6.707e-05/0.008178, allocations: 118 kB / 398.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.008197, allocations: 7.953 kB / 398.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.008222, allocations: 24.64 kB / 398.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.008224, allocations: 0 / 398.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.008228, allocations: 0 / 398.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.008231, allocations: 4 kB / 398.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.008376, allocations: 160.7 kB / 398.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.008377, allocations: 0 / 398.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.00844, allocations: 16 kB / 398.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.008442, allocations: 3.984 kB / 398.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.008452, allocations: 3.938 kB / 398.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.008453, allocations: 0 / 398.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.008454, allocations: 8.016 kB / 398.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.00867, allocations: 215.7 kB / 398.9 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/0.008698, allocations: 15.92 kB / 398.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.008714, allocations: 7.922 kB / 398.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.399e-05/0.008758, allocations: 0 / 398.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.008796, allocations: 12.05 kB / 398.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.008801, allocations: 4 kB / 398.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.221e-05/0.008853, allocations: 106 kB / 399 MB, free: 12.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008853, allocations: 4 kB / 399 MB, free: 12.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.009028, allocations: 23.89 kB / 399 MB, free: 12.89 MB / 330.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.0003811/0.009409, allocations: 0.7397 MB / 399.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.009548, allocations: 59.84 kB / 399.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.009549, allocations: 4.188 kB / 399.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.265e-05/0.009592, allocations: 31.98 kB / 399.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.009808, allocations: 11.28 kB / 399.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.01113, allocations: 1.593 MB / 401.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.789e-05/0.01119, allocations: 88.31 kB / 401.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.327e-05/0.01123, allocations: 4 kB / 401.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.01128, allocations: 32.48 kB / 401.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01129, allocations: 4 kB / 401.6 MB, free: 10.19 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08521/0.0965, allocations: 2.852 MB / 404.4 MB, free: 7.457 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.03/7.127, allocations: 10.31 kB / 404.4 MB, free: 7.453 MB / 330.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.45527638681233]